source: java2python/geniuswebtranslator/pom.xml@ 1571

Last change on this file since 1571 was 1571, checked in by wouter, 32 hours ago

fix getZip to explicitly pass version nr

File size: 8.4 KB
Line 
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>
7 <version>1.0.9</version>
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>
17 <geniusweb.version>2.1.6</geniusweb.version>
18 <j2p-version>${project.version}</j2p-version>
19 </properties>
20
21
22
23 <distributionManagement>
24 <repository>
25 <id>artifactory.ewi.tudelft.nl</id>
26 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
27 </repository>
28 </distributionManagement>
29
30 <repositories>
31 <repository>
32 <id>artifactory.ewi.tudelft.nl</id>
33 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
34 <snapshots>
35 <enabled>false</enabled>
36 </snapshots>
37 </repository>
38 </repositories>
39
40 <pluginRepositories>
41 <pluginRepository>
42 <id>central</id>
43 <url>https://repo1.maven.org/maven2</url>
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>
55 <groupId>tudelft.utilities.j2p</groupId>
56 <artifactId>core</artifactId>
57 <version>${j2p-version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>tudelft.utilities.j2p</groupId>
62 <artifactId>tudutils-t</artifactId>
63 <version>${j2p-version}</version>
64 </dependency>
65
66 <dependency>
67 <groupId>tudelft.utilities.j2p</groupId>
68 <artifactId>tudunit-t</artifactId>
69 <version>${j2p-version}</version>
70 </dependency>
71
72 <dependency>
73 <groupId>tudelft.utilities.j2p</groupId>
74 <artifactId>jackson-t</artifactId>
75 <version>${j2p-version}</version>
76 </dependency>
77 <dependency>
78 <groupId>tudelft.utilities.j2p</groupId>
79 <artifactId>mockito-t</artifactId>
80 <version>${j2p-version}</version>
81 </dependency>
82 <dependency>
83 <groupId>tudelft.utilities.j2p</groupId>
84 <artifactId>junit-t</artifactId>
85 <version>${j2p-version}</version>
86 </dependency>
87 <dependency>
88 <groupId>tudelft.utilities.j2p</groupId>
89 <artifactId>websocket-t</artifactId>
90 <version>${j2p-version}</version>
91 </dependency>
92 <dependency>
93 <groupId>tudelft.utilities</groupId>
94 <artifactId>logging</artifactId>
95 <version>1.1.1</version>
96 </dependency>
97 <dependency>
98 <groupId>tudelft</groupId>
99 <artifactId>annotations</artifactId>
100 <version>1.0.0</version>
101 </dependency>
102
103
104 <!-- needed for the profileconnection -->
105 <dependency>
106 <groupId>javax.websocket</groupId>
107 <artifactId>javax.websocket-api</artifactId>
108 <version>1.1</version>
109 </dependency>
110
111 <!-- needed for the ip package Disabled as part of code was disabled -->
112 <!-- <dependency> -->
113 <!-- <groupId>org.apache.commons</groupId> -->
114 <!-- <artifactId>commons-math</artifactId> -->
115 <!-- <version>2.2</version> -->
116 <!-- </dependency> -->
117
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>
124
125
126
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>
138 <version>5.18.0</version>
139 </dependency>
140 <dependency>
141 <groupId>tudelft.utilities</groupId>
142 <artifactId>junit</artifactId>
143 <version>1.0.6</version>
144 </dependency>
145
146 <!-- pyrunner is needed for running the compiled code -->
147 <dependency>
148 <groupId>tudelft.utilities</groupId>
149 <artifactId>pyrunner</artifactId>
150 <version>1.3.0</version>
151 <scope>test</scope>
152 </dependency>
153
154
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>
174 <groupId>org.codehaus.mojo</groupId>
175 <artifactId>build-helper-maven-plugin</artifactId>
176 <version>3.4.0</version>
177 <executions>
178 <execution>
179 <id>add-source</id>
180 <phase>generate-sources</phase>
181 <goals>
182 <goal>add-source</goal>
183 </goals>
184 <configuration>
185 <sources>
186 <source>geniusweb/src/main/java</source>
187 </sources>
188 </configuration>
189 </execution>
190 <execution>
191 <id>add-test-source</id>
192 <phase>generate-test-sources</phase>
193 <goals>
194 <goal>add-test-source</goal>
195 </goals>
196 <configuration>
197 <sources>
198 <source>geniusweb/src/test/java</source>
199 </sources>
200 </configuration>
201 </execution>
202 <execution>
203 <id>add-test-resource</id>
204 <phase>generate-test-resources</phase>
205 <goals>
206 <goal>add-test-resource</goal>
207 </goals>
208 <configuration>
209 <resources>
210 <!-- really a resource, but this copies it as needed -->
211 <resource>
212 <directory>
213 geniusweb/src/test/resources</directory>
214 </resource>
215 </resources>
216 </configuration>
217 </execution>
218
219 </executions>
220 </plugin>
221
222 <plugin>
223 <groupId>org.jfrog.buildinfo</groupId>
224 <artifactId>artifactory-maven-plugin</artifactId>
225 <version>3.6.1</version>
226 <executions>
227 <execution>
228 <id>build-info</id>
229 <goals>
230 <goal>publish</goal>
231 </goals>
232 <configuration>
233 <publisher>
234 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
235 <repoKey>libs-release</repoKey>
236 <username>wouter</username>
237 <password>${passwd}</password>
238 </publisher>
239 </configuration>
240 </execution>
241 </executions>
242 </plugin>
243
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-enforcer-plugin</artifactId>
247 <version>3.0.0-M2</version>
248 <executions>
249 <execution>
250 <id>enforce</id>
251 <configuration>
252 <rules>
253 <dependencyConvergence />
254 </rules>
255 </configuration>
256 <goals>
257 <goal>enforce</goal>
258 </goals>
259 </execution>
260 </executions>
261 </plugin>
262
263
264
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-assembly-plugin</artifactId>
268 <version>2.4.1</version>
269 <configuration>
270 <!-- get all project dependencies -->
271 <descriptorRefs>
272 <descriptorRef>jar-with-dependencies</descriptorRef>
273 </descriptorRefs>
274 <archive>
275 <manifest>
276 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
277 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
278 </manifest>
279 </archive>
280 </configuration>
281 <executions>
282 <execution>
283 <id>make-assembly</id>
284 <!-- bind to the packaging phase -->
285 <phase>package</phase>
286 <goals>
287 <goal>single</goal>
288 </goals>
289 </execution>
290 </executions>
291 </plugin>
292
293
294 </plugins>
295
296 <pluginManagement>
297 <plugins>
298 <plugin>
299 <groupId>org.eclipse.m2e</groupId>
300 <artifactId>lifecycle-mapping</artifactId>
301 <version>1.0.0</version>
302 <configuration>
303 <lifecycleMappingMetadata>
304 <pluginExecutions>
305 <pluginExecution>
306 <pluginExecutionFilter>
307 <groupId>org.jfrog.buildinfo</groupId>
308 <artifactId>artifactory-maven-plugin</artifactId>
309 <versionRange>[1.0.0,)</versionRange>
310 <goals>
311 <goal>publish</goal>
312 </goals>
313 </pluginExecutionFilter>
314 <action>
315 <ignore />
316 </action>
317 </pluginExecution>
318 </pluginExecutions>
319 </lifecycleMappingMetadata>
320 </configuration>
321 </plugin>
322 </plugins>
323 </pluginManagement>
324
325
326 </build>
327
328</project>
Note: See TracBrowser for help on using the repository browser.