source: java2python/geniuswebtranslator/pom.xml@ 1565

Last change on this file since 1565 was 1565, checked in by wouter, 38 hours ago

#450 mockito = only for testing

File size: 7.8 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.8</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 <scope>test</scope>
140 </dependency>
141 <dependency>
142 <groupId>tudelft.utilities</groupId>
143 <artifactId>junit</artifactId>
144 <version>1.0.6</version>
145 </dependency>
146
147 <!-- pyrunner is needed for running the compiled code -->
148 <dependency>
149 <groupId>tudelft.utilities</groupId>
150 <artifactId>pyrunner</artifactId>
151 <version>1.3.0</version>
152 <scope>test</scope>
153 </dependency>
154
155
156 </dependencies>
157
158 <build>
159
160 <plugins>
161
162
163
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-compiler-plugin</artifactId>
167 <version>3.8.0</version>
168 <configuration>
169 <source>1.8</source>
170 <target>1.8</target>
171 </configuration>
172 </plugin>
173
174 <plugin>
175 <groupId>org.codehaus.mojo</groupId>
176 <artifactId>build-helper-maven-plugin</artifactId>
177 <version>3.4.0</version>
178 <executions>
179 <execution>
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 <source>geniusweb/src/test/java</source>
188 <!-- next one is really a resource, but this copies it as needed -->
189 <source>geniusweb/src/test/resources</source>
190 </sources>
191 </configuration>
192 </execution>
193
194 </executions>
195 </plugin>
196
197 <plugin>
198 <groupId>org.jfrog.buildinfo</groupId>
199 <artifactId>artifactory-maven-plugin</artifactId>
200 <version>3.6.1</version>
201 <executions>
202 <execution>
203 <id>build-info</id>
204 <goals>
205 <goal>publish</goal>
206 </goals>
207 <configuration>
208 <publisher>
209 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
210 <repoKey>libs-release</repoKey>
211 <username>wouter</username>
212 <password>${passwd}</password>
213 </publisher>
214 </configuration>
215 </execution>
216 </executions>
217 </plugin>
218
219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-enforcer-plugin</artifactId>
222 <version>3.0.0-M2</version>
223 <executions>
224 <execution>
225 <id>enforce</id>
226 <configuration>
227 <rules>
228 <dependencyConvergence />
229 </rules>
230 </configuration>
231 <goals>
232 <goal>enforce</goal>
233 </goals>
234 </execution>
235 </executions>
236 </plugin>
237
238
239
240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-assembly-plugin</artifactId>
243 <version>2.4.1</version>
244 <configuration>
245 <!-- get all project dependencies -->
246 <descriptorRefs>
247 <descriptorRef>jar-with-dependencies</descriptorRef>
248 </descriptorRefs>
249 <archive>
250 <manifest>
251 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
252 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
253 </manifest>
254 </archive>
255 </configuration>
256 <executions>
257 <execution>
258 <id>make-assembly</id>
259 <!-- bind to the packaging phase -->
260 <phase>package</phase>
261 <goals>
262 <goal>single</goal>
263 </goals>
264 </execution>
265 </executions>
266 </plugin>
267
268
269 </plugins>
270
271 <pluginManagement>
272 <plugins>
273 <plugin>
274 <groupId>org.eclipse.m2e</groupId>
275 <artifactId>lifecycle-mapping</artifactId>
276 <version>1.0.0</version>
277 <configuration>
278 <lifecycleMappingMetadata>
279 <pluginExecutions>
280 <pluginExecution>
281 <pluginExecutionFilter>
282 <groupId>org.jfrog.buildinfo</groupId>
283 <artifactId>artifactory-maven-plugin</artifactId>
284 <versionRange>[1.0.0,)</versionRange>
285 <goals>
286 <goal>publish</goal>
287 </goals>
288 </pluginExecutionFilter>
289 <action>
290 <ignore />
291 </action>
292 </pluginExecution>
293 </pluginExecutions>
294 </lifecycleMappingMetadata>
295 </configuration>
296 </plugin>
297 </plugins>
298 </pluginManagement>
299
300
301 </build>
302
303</project>
Note: See TracBrowser for help on using the repository browser.