|
4 | 4 | <artifactId>azure-functions-java-library</artifactId>
|
5 | 5 | <version>1.0.0-beta-7-SNAPSHOT</version>
|
6 | 6 | <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> |
12 | 7 |
|
13 | 8 | <name>Microsoft Azure Functions Java Core Types</name>
|
14 | 9 | <description>This package contains all Java interfaces and annotations to interact with Microsoft Azure functions runtime.</description>
|
15 | 10 | <url>https://azure.microsoft.com/en-us/services/functions</url>
|
16 | 11 |
|
17 | 12 | <properties>
|
18 | 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 14 | + <junit.version>4.12</junit.version> |
| 15 | + <mockito.version>2.11.0</mockito.version> |
19 | 16 | </properties>
|
20 | 17 |
|
21 | 18 | <licenses>
|
|
44 | 41 | <name>Kevin Zhao</name>
|
45 | 42 |
|
46 | 43 | </developer>
|
47 |
| - <developer> |
48 |
| - <id>pgopa</id> |
49 |
| - <name>Pragna Gopa</name> |
50 |
| - |
51 |
| - </developer> |
52 | 44 | </developers>
|
53 | 45 |
|
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 |
| - |
68 | 46 | <dependencies>
|
69 | 47 |
|
70 | 48 | <!-- test -->
|
71 | 49 | <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> |
75 | 54 | </dependency>
|
76 | 55 | <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> |
80 | 60 | </dependency>
|
81 | 61 | <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> |
85 | 66 | </dependency>
|
86 | 67 |
|
87 | 68 | </dependencies>
|
|
90 | 71 | <plugins>
|
91 | 72 | <plugin>
|
92 | 73 | <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> |
93 | 79 | </plugin>
|
94 | 80 | <plugin>
|
95 | 81 | <groupId>org.apache.maven.plugins</groupId>
|
96 | 82 | <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> |
97 | 92 | </plugin>
|
98 | 93 | <plugin>
|
99 | 94 | <groupId>org.apache.maven.plugins</groupId>
|
100 | 95 | <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> |
110 | 97 | <executions>
|
111 | 98 | <execution>
|
112 |
| - <id>enforce-maven</id> |
| 99 | + <id>attach-javadocs</id> |
113 | 100 | <goals>
|
114 |
| - <goal>enforce</goal> |
| 101 | + <goal>jar</goal> |
115 | 102 | </goals>
|
116 |
| - <configuration> |
117 |
| - <rules> |
118 |
| - <requireMavenVersion> |
119 |
| - <version>3.2.0</version> |
120 |
| - </requireMavenVersion> |
121 |
| - </rules> |
122 |
| - </configuration> |
123 | 103 | </execution>
|
124 | 104 | </executions>
|
125 | 105 | </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> |
126 | 120 | </plugins>
|
127 | 121 | </build>
|
128 |
| - |
| 122 | + |
129 | 123 | </project>
|
0 commit comments