source: java2python/geniuswebtranslator/pom.xml@ 1554

Last change on this file since 1554 was 1548, checked in by wouter, 8 days ago

#451 update mockito

File size: 7.8 KB
RevLine 
[517]1<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>tudelft.utilities.j2p</groupId>
6 <artifactId>geniuswebtranslator</artifactId>
[1510]7 <version>1.0.8</version>
[517]8
9 <properties>
10 <!-- Tell Maven we want to use Java 8 -->
11 <maven.compiler.source>1.8</maven.compiler.source>
12 <maven.compiler.target>1.8</maven.compiler.target>
13 <!-- Tell Maven to treat all source files as UTF-8 -->
14 <jackson-2-version>2.12.3</jackson-2-version>
15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 <passwd>${env.ARTIFACTORY_PASS}</passwd>
[519]17 <geniusweb.version>2.1.6</geniusweb.version>
[1120]18 <j2p-version>${project.version}</j2p-version>
[517]19 </properties>
20
21
22
23 <distributionManagement>
24 <repository>
25 <id>artifactory.ewi.tudelft.nl</id>
[1113]26 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
[517]27 </repository>
28 </distributionManagement>
29
30 <repositories>
31 <repository>
32 <id>artifactory.ewi.tudelft.nl</id>
[1113]33 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
[517]34 <snapshots>
35 <enabled>false</enabled>
36 </snapshots>
37 </repository>
38 </repositories>
39
40 <pluginRepositories>
41 <pluginRepository>
42 <id>central</id>
[519]43 <url>https://repo1.maven.org/maven2</url>
[517]44 </pluginRepository>
45 <pluginRepository>
46 <id>jfrog-plugins-release</id>
47 <name>plugins-release</name>
48 <url>https://oss.jfrog.org/artifactory/plugins-release</url>
49 </pluginRepository>
50 </pluginRepositories>
51
52 <dependencies>
53
54 <dependency>
[519]55 <groupId>tudelft.utilities.j2p</groupId>
56 <artifactId>core</artifactId>
[1120]57 <version>${j2p-version}</version>
[517]58 </dependency>
59
[526]60 <dependency>
61 <groupId>tudelft.utilities.j2p</groupId>
[692]62 <artifactId>tudutils-t</artifactId>
[1120]63 <version>${j2p-version}</version>
[526]64 </dependency>
[517]65
[526]66 <dependency>
67 <groupId>tudelft.utilities.j2p</groupId>
[711]68 <artifactId>tudunit-t</artifactId>
[1120]69 <version>${j2p-version}</version>
[711]70 </dependency>
71
72 <dependency>
73 <groupId>tudelft.utilities.j2p</groupId>
[692]74 <artifactId>jackson-t</artifactId>
[1120]75 <version>${j2p-version}</version>
[692]76 </dependency>
77 <dependency>
78 <groupId>tudelft.utilities.j2p</groupId>
[786]79 <artifactId>mockito-t</artifactId>
[1120]80 <version>${j2p-version}</version>
[786]81 </dependency>
82 <dependency>
83 <groupId>tudelft.utilities.j2p</groupId>
[526]84 <artifactId>junit-t</artifactId>
[1120]85 <version>${j2p-version}</version>
[526]86 </dependency>
[960]87 <dependency>
[1483]88 <groupId>tudelft.utilities.j2p</groupId>
89 <artifactId>websocket-t</artifactId>
90 <version>${j2p-version}</version>
91 </dependency>
92 <dependency>
[960]93 <groupId>tudelft.utilities</groupId>
94 <artifactId>logging</artifactId>
[1419]95 <version>1.1.1</version>
[960]96 </dependency>
[1199]97 <dependency>
98 <groupId>tudelft</groupId>
99 <artifactId>annotations</artifactId>
100 <version>1.0.0</version>
101 </dependency>
[1483]102
103
104 <!-- needed for the profileconnection -->
[1472]105 <dependency>
106 <groupId>javax.websocket</groupId>
107 <artifactId>javax.websocket-api</artifactId>
108 <version>1.1</version>
109 </dependency>
[1153]110
[1483]111 <!-- needed for the ip package Disabled as part of code was disabled -->
112 <!-- <dependency> -->
[1185]113 <!-- <groupId>org.apache.commons</groupId> -->
114 <!-- <artifactId>commons-math</artifactId> -->
115 <!-- <version>2.2</version> -->
116 <!-- </dependency> -->
117
[804]118 <!-- @NonNull annotation -->
119 <dependency>
120 <groupId>org.eclipse.jdt</groupId>
121 <artifactId>org.eclipse.jdt.annotation</artifactId>
122 <version>2.3.0</version>
123 </dependency>
[649]124
[804]125
[1153]126
[595]127 <!-- Normally these below would be in TEST scope. But we need to compile
128 the test code in NORMAL mode, not in test mode, because we don't want to
129 RUN these tests. We only want to run the COMPILED code -->
130 <dependency>
131 <groupId>junit</groupId>
132 <artifactId>junit</artifactId>
133 <version>4.12</version>
134 </dependency>
135 <dependency>
136 <groupId>org.mockito</groupId>
137 <artifactId>mockito-core</artifactId>
[1548]138 <version>5.18.0</version>
[595]139 </dependency>
140 <dependency>
141 <groupId>tudelft.utilities</groupId>
142 <artifactId>junit</artifactId>
[1406]143 <version>1.0.6</version>
[595]144 </dependency>
[526]145
[649]146 <!-- pyrunner is needed for running the compiled code -->
147 <dependency>
148 <groupId>tudelft.utilities</groupId>
149 <artifactId>pyrunner</artifactId>
[1406]150 <version>1.3.0</version>
[649]151 <scope>test</scope>
152 </dependency>
[595]153
[649]154
[517]155 </dependencies>
156
157 <build>
158
159 <plugins>
160
161
162
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-compiler-plugin</artifactId>
166 <version>3.8.0</version>
167 <configuration>
168 <source>1.8</source>
169 <target>1.8</target>
170 </configuration>
171 </plugin>
172
173 <plugin>
[519]174 <groupId>org.codehaus.mojo</groupId>
175 <artifactId>build-helper-maven-plugin</artifactId>
176 <version>3.4.0</version>
[517]177 <executions>
178 <execution>
[519]179 <phase>generate-sources</phase>
[517]180 <goals>
[519]181 <goal>add-source</goal>
[517]182 </goals>
183 <configuration>
[519]184 <sources>
[892]185 <source>geniusweb/src/main/java</source>
186 <source>geniusweb/src/test/java</source>
187 <!-- next one is really a resource, but this copies it as needed -->
188 <source>geniusweb/src/test/resources</source>
[519]189 </sources>
[517]190 </configuration>
191 </execution>
[892]192
[517]193 </executions>
194 </plugin>
195
196 <plugin>
197 <groupId>org.jfrog.buildinfo</groupId>
198 <artifactId>artifactory-maven-plugin</artifactId>
[1113]199 <version>3.6.1</version>
[517]200 <executions>
201 <execution>
202 <id>build-info</id>
203 <goals>
204 <goal>publish</goal>
205 </goals>
206 <configuration>
207 <publisher>
208 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
209 <repoKey>libs-release</repoKey>
210 <username>wouter</username>
211 <password>${passwd}</password>
212 </publisher>
213 </configuration>
214 </execution>
215 </executions>
216 </plugin>
217
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
[649]220 <artifactId>maven-enforcer-plugin</artifactId>
221 <version>3.0.0-M2</version>
222 <executions>
223 <execution>
224 <id>enforce</id>
225 <configuration>
226 <rules>
227 <dependencyConvergence />
228 </rules>
229 </configuration>
230 <goals>
231 <goal>enforce</goal>
232 </goals>
233 </execution>
234 </executions>
235 </plugin>
236
237
238
239 <plugin>
240 <groupId>org.apache.maven.plugins</groupId>
[517]241 <artifactId>maven-assembly-plugin</artifactId>
242 <version>2.4.1</version>
243 <configuration>
244 <!-- get all project dependencies -->
245 <descriptorRefs>
246 <descriptorRef>jar-with-dependencies</descriptorRef>
247 </descriptorRefs>
248 <archive>
249 <manifest>
250 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
251 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
252 </manifest>
253 </archive>
254 </configuration>
255 <executions>
256 <execution>
257 <id>make-assembly</id>
258 <!-- bind to the packaging phase -->
259 <phase>package</phase>
260 <goals>
261 <goal>single</goal>
262 </goals>
263 </execution>
264 </executions>
265 </plugin>
266
267
268 </plugins>
269
270 <pluginManagement>
271 <plugins>
272 <plugin>
273 <groupId>org.eclipse.m2e</groupId>
274 <artifactId>lifecycle-mapping</artifactId>
275 <version>1.0.0</version>
276 <configuration>
277 <lifecycleMappingMetadata>
278 <pluginExecutions>
279 <pluginExecution>
280 <pluginExecutionFilter>
281 <groupId>org.jfrog.buildinfo</groupId>
282 <artifactId>artifactory-maven-plugin</artifactId>
283 <versionRange>[1.0.0,)</versionRange>
284 <goals>
285 <goal>publish</goal>
286 </goals>
287 </pluginExecutionFilter>
288 <action>
289 <ignore />
290 </action>
291 </pluginExecution>
292 </pluginExecutions>
293 </lifecycleMappingMetadata>
294 </configuration>
295 </plugin>
296 </plugins>
297 </pluginManagement>
298
299
300 </build>
301
302</project>
Note: See TracBrowser for help on using the repository browser.