source: java2python/geniuswebtranslator/pom.xml@ 1498

Last change on this file since 1498 was 1483, checked in by wouter, 2 days ago

#439 profileconnection all compiling, all tests OK

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.7</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>3.11.2</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 <phase>generate-sources</phase>
180 <goals>
181 <goal>add-source</goal>
182 </goals>
183 <configuration>
184 <sources>
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>
189 </sources>
190 </configuration>
191 </execution>
192
193 </executions>
194 </plugin>
195
196 <plugin>
197 <groupId>org.jfrog.buildinfo</groupId>
198 <artifactId>artifactory-maven-plugin</artifactId>
199 <version>3.6.1</version>
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>
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>
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.