Skip to content

Commit ecb5fb2

Browse files
authored
Undo parent pom changes due to build issues (#63)
1 parent 717722d commit ecb5fb2

File tree

1 file changed

+46
-52
lines changed

1 file changed

+46
-52
lines changed

pom.xml

+46-52
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,15 @@
44
<artifactId>azure-functions-java-library</artifactId>
55
<version>1.0.0-beta-7-SNAPSHOT</version>
66
<packaging>jar</packaging>
7-
<parent>
8-
<groupId>com.microsoft.maven</groupId>
9-
<artifactId>java-8-parent</artifactId>
10-
<version>8.0.0-SNAPSHOT</version>
11-
</parent>
127

138
<name>Microsoft Azure Functions Java Core Types</name>
149
<description>This package contains all Java interfaces and annotations to interact with Microsoft Azure functions runtime.</description>
1510
<url>https://azure.microsoft.com/en-us/services/functions</url>
1611

1712
<properties>
1813
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<junit.version>4.12</junit.version>
15+
<mockito.version>2.11.0</mockito.version>
1916
</properties>
2017

2118
<licenses>
@@ -44,44 +41,28 @@
4441
<name>Kevin Zhao</name>
4542
<email>[email protected]</email>
4643
</developer>
47-
<developer>
48-
<id>pgopa</id>
49-
<name>Pragna Gopa</name>
50-
<email>[email protected]</email>
51-
</developer>
5244
</developers>
5345

54-
<repositories>
55-
<repository>
56-
<id>maven.snapshots</id>
57-
<name>Maven Central Snapshot Repository</name>
58-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
59-
<releases>
60-
<enabled>false</enabled>
61-
</releases>
62-
<snapshots>
63-
<enabled>true</enabled>
64-
</snapshots>
65-
</repository>
66-
</repositories>
67-
6846
<dependencies>
6947

7048
<!-- test -->
7149
<dependency>
72-
<groupId>org.reflections</groupId>
73-
<artifactId>reflections</artifactId>
74-
<scope>test</scope>
50+
<groupId>org.reflections</groupId>
51+
<artifactId>reflections</artifactId>
52+
<version>0.9.11</version>
53+
<scope>test</scope>
7554
</dependency>
7655
<dependency>
77-
<groupId>junit</groupId>
78-
<artifactId>junit</artifactId>
79-
<scope>test</scope>
56+
<groupId>junit</groupId>
57+
<artifactId>junit</artifactId>
58+
<version>${junit.version}</version>
59+
<scope>test</scope>
8060
</dependency>
8161
<dependency>
82-
<groupId>org.mockito</groupId>
83-
<artifactId>mockito-core</artifactId>
84-
<scope>test</scope>
62+
<groupId>org.mockito</groupId>
63+
<artifactId>mockito-core</artifactId>
64+
<version>${mockito.version}</version>
65+
<scope>test</scope>
8566
</dependency>
8667

8768
</dependencies>
@@ -90,40 +71,53 @@
9071
<plugins>
9172
<plugin>
9273
<artifactId>maven-compiler-plugin</artifactId>
74+
<version>3.7.0</version>
75+
<configuration>
76+
<source>1.8</source>
77+
<target>1.8</target>
78+
</configuration>
9379
</plugin>
9480
<plugin>
9581
<groupId>org.apache.maven.plugins</groupId>
9682
<artifactId>maven-source-plugin</artifactId>
83+
<version>3.0.1</version>
84+
<executions>
85+
<execution>
86+
<id>attach-sources</id>
87+
<goals>
88+
<goal>jar</goal>
89+
</goals>
90+
</execution>
91+
</executions>
9792
</plugin>
9893
<plugin>
9994
<groupId>org.apache.maven.plugins</groupId>
10095
<artifactId>maven-javadoc-plugin</artifactId>
101-
</plugin>
102-
<plugin>
103-
<groupId>org.apache.maven.plugins</groupId>
104-
<artifactId>maven-surefire-plugin</artifactId>
105-
</plugin>
106-
<plugin>
107-
<groupId>org.apache.maven.plugins</groupId>
108-
<artifactId>maven-enforcer-plugin</artifactId>
109-
<version>3.0.0-M2</version>
96+
<version>3.0.1</version>
11097
<executions>
11198
<execution>
112-
<id>enforce-maven</id>
99+
<id>attach-javadocs</id>
113100
<goals>
114-
<goal>enforce</goal>
101+
<goal>jar</goal>
115102
</goals>
116-
<configuration>
117-
<rules>
118-
<requireMavenVersion>
119-
<version>3.2.0</version>
120-
</requireMavenVersion>
121-
</rules>
122-
</configuration>
123103
</execution>
124104
</executions>
125105
</plugin>
106+
<plugin>
107+
<groupId>org.apache.maven.plugins</groupId>
108+
<artifactId>maven-surefire-plugin</artifactId>
109+
<version>2.21.0</version>
110+
<configuration>
111+
<workingDirectory>${project.build.directory}</workingDirectory>
112+
<systemProperties>
113+
<property>
114+
<name>testing-project-jar</name>
115+
<value>${project.artifactId}-${project.version}-tests.jar</value>
116+
</property>
117+
</systemProperties>
118+
</configuration>
119+
</plugin>
126120
</plugins>
127121
</build>
128-
122+
129123
</project>

0 commit comments

Comments
 (0)