source: pom.xml@ 44

Last change on this file since 44 was 44, checked in by bart, 2 years ago

Fixed small issues in domaineditor.

File size: 12.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 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <!-- FIXME use pocketnego3 here? -->
6 <groupId>geniusweb</groupId>
7 <artifactId>runserver</artifactId>
8 <packaging>war</packaging>
9 <version>2.1.5</version>
10 <name>runserver Maven Webapp</name>
11 <url>http://maven.apache.org</url>
12
13
14 <properties>
15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 <maven.compiler.target>1.8</maven.compiler.target>
17 <maven.compiler.source>1.8</maven.compiler.source>
18 <basedir>.</basedir>
19 <passwd>${env.ARTIFACTORY_PASS}</passwd>
20 <jackson-2-version>2.12.3</jackson-2-version>
21 <tomcat.version>8.5.73</tomcat.version>
22 <geniusweb.version>${project.version}</geniusweb.version>
23 </properties>
24
25 <distributionManagement>
26 <repository>
27 <id>artifactory.ewi.tudelft.nl</id>
28 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
29 </repository>
30 </distributionManagement>
31
32
33 <repositories>
34 <repository>
35 <id>artifactory.ewi.tudelft.nl</id>
36 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
37 <snapshots>
38 <enabled>false</enabled>
39 </snapshots>
40 </repository>
41 </repositories>
42
43
44 <pluginRepositories>
45 <pluginRepository>
46 <id>central</id>
47 <url>https://repo1.maven.org/maven2</url>
48 </pluginRepository>
49 </pluginRepositories>
50
51
52
53 <dependencies>
54 <dependency>
55 <groupId>geniusweb</groupId>
56 <artifactId>profile</artifactId>
57 <version>${geniusweb.version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>geniusweb</groupId>
62 <artifactId>party</artifactId>
63 <version>${geniusweb.version}</version>
64 </dependency>
65
66 <dependency>
67 <groupId>geniusweb</groupId>
68 <artifactId>references</artifactId>
69 <version>${geniusweb.version}</version>
70 </dependency>
71
72 <dependency>
73 <groupId>geniusweb</groupId>
74 <artifactId>protocol</artifactId>
75 <version>${geniusweb.version}</version>
76 </dependency>
77
78 <dependency>
79 <groupId>tudelft.utilities</groupId>
80 <artifactId>utilities</artifactId>
81 <version>1.2.1</version>
82 </dependency>
83
84
85 <dependency>
86 <groupId>javax.websocket</groupId>
87 <artifactId>javax.websocket-api</artifactId>
88 <version>1.1</version>
89 </dependency>
90
91 <!-- the core, which includes Streaming API, shared low-level abstractions
92 (but NOT data-binding) -->
93 <dependency>
94 <groupId>com.fasterxml.jackson.core</groupId>
95 <artifactId>jackson-core</artifactId>
96 <version>${jackson-2-version}</version>
97 </dependency>
98
99 <!-- Just the annotations; use this dependency if you want to attach annotations
100 to classes without connecting them to the code. -->
101 <dependency>
102 <groupId>com.fasterxml.jackson.core</groupId>
103 <artifactId>jackson-annotations</artifactId>
104 <version>${jackson-2-version}</version>
105 </dependency>
106
107 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
108 <dependency>
109 <groupId>com.fasterxml.jackson.core</groupId>
110 <artifactId>jackson-databind</artifactId>
111 <version>${jackson-2-version}</version>
112 </dependency>
113
114 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
115 <dependency>
116 <groupId>com.fasterxml.jackson.dataformat</groupId>
117 <artifactId>jackson-dataformat-smile</artifactId>
118 <version>${jackson-2-version}</version>
119 </dependency>
120 <!-- JAX-RS provider -->
121 <dependency>
122 <groupId>com.fasterxml.jackson.jaxrs</groupId>
123 <artifactId>jackson-jaxrs-json-provider</artifactId>
124 <version>${jackson-2-version}</version>
125 </dependency>
126 <!-- Support for JAX-B annotations as additional configuration -->
127 <dependency>
128 <groupId>com.fasterxml.jackson.module</groupId>
129 <artifactId>jackson-module-jaxb-annotations</artifactId>
130 <version>${jackson-2-version}</version>
131 </dependency>
132
133
134 <dependency>
135 <groupId>geniusweb</groupId>
136 <artifactId>profilesserver</artifactId>
137 <version>${geniusweb.version}</version>
138 <scope>test</scope>
139 <type>war</type>
140 </dependency>
141
142 <dependency>
143 <groupId>geniusweb</groupId>
144 <artifactId>partiesserver</artifactId>
145 <version>${geniusweb.version}</version>
146 <scope>test</scope>
147 <type>war</type>
148 </dependency>
149
150 <dependency>
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 <version>4.12</version>
154 <scope>test</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>javax.servlet</groupId>
159 <artifactId>javax.servlet-api</artifactId>
160 <version>3.1.0</version>
161 <scope>provided</scope>
162 </dependency>
163
164 <!-- embedded-tomcat for testing the server -->
165 <dependency>
166 <groupId>org.apache.tomcat.embed</groupId>
167 <artifactId>tomcat-embed-core</artifactId>
168 <version>${tomcat.version}</version>
169 <scope>test</scope>
170 </dependency>
171 <dependency>
172 <groupId>org.apache.tomcat.embed</groupId>
173 <artifactId>tomcat-embed-jasper</artifactId>
174 <version>${tomcat.version}</version>
175 <scope>test</scope>
176 </dependency>
177 <dependency>
178 <groupId>org.apache.tomcat</groupId>
179 <artifactId>tomcat-jasper</artifactId>
180 <version>${tomcat.version}</version>
181 <scope>test</scope>
182 </dependency>
183 <dependency>
184 <groupId>org.apache.tomcat</groupId>
185 <artifactId>tomcat-jasper-el</artifactId>
186 <version>${tomcat.version}</version>
187 <scope>test</scope>
188 </dependency>
189 <dependency>
190 <groupId>org.apache.tomcat</groupId>
191 <artifactId>tomcat-jsp-api</artifactId>
192 <version>${tomcat.version}</version>
193 <scope>test</scope>
194 </dependency>
195 <dependency>
196 <groupId>org.apache.tomcat.embed</groupId>
197 <artifactId>tomcat-embed-core</artifactId>
198 <version>${tomcat.version}</version>
199 <scope>test</scope>
200 </dependency>
201 <dependency>
202 <groupId>org.apache.tomcat</groupId>
203 <artifactId>tomcat-websocket</artifactId>
204 <version>${tomcat.version}</version>
205 <scope>test</scope>
206 </dependency>
207
208 <dependency>
209 <groupId>org.apache.httpcomponents</groupId>
210 <artifactId>httpclient</artifactId>
211 <version>4.5.13</version>
212 <scope>test</scope>
213 </dependency>
214
215 <dependency>
216 <groupId>org.apache.maven</groupId>
217 <artifactId>maven-model</artifactId>
218 <version>3.3.9</version>
219 <scope>test</scope>
220 </dependency>
221
222 </dependencies>
223
224 <build>
225 <!-- Don't specify finalName as the war number would mismatch the pom version -->
226
227
228 <resources>
229 <resource>
230 <directory>src/main/webapp/log</directory>
231 </resource>
232 </resources>
233
234
235 <plugins>
236 <!-- Copy the log dir to have good place for logging -->
237 <plugin>
238 <artifactId>maven-resources-plugin</artifactId>
239 <version>3.1.0</version>
240 <executions>
241 <execution>
242 <id>copy-resources</id>
243 <phase>validate</phase>
244 <goals>
245 <goal>copy-resources</goal>
246 </goals>
247 <configuration>
248 <outputDirectory>${basedir}/target/log</outputDirectory>
249 <resources>
250 <resource>
251 <directory>src/main/webapp/log</directory>
252 </resource>
253 </resources>
254 </configuration>
255 </execution>
256 </executions>
257 </plugin>
258 <plugin>
259 <artifactId>maven-war-plugin</artifactId>
260 <version>3.2.3</version>
261 <configuration>
262 <attachClasses>true</attachClasses>
263 </configuration>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-enforcer-plugin</artifactId>
268 <version>3.0.0-M2</version>
269 <executions>
270 <execution>
271 <id>enforce</id>
272 <configuration>
273 <rules>
274 <dependencyConvergence />
275 </rules>
276 </configuration>
277 <goals>
278 <goal>enforce</goal>
279 </goals>
280 </execution>
281 </executions>
282 </plugin>
283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-source-plugin</artifactId>
286 <version>3.2.1</version>
287 <executions>
288 <execution>
289 <id>attach-sources</id>
290 <goals>
291 <goal>jar</goal>
292 </goals>
293 </execution>
294 </executions>
295 </plugin>
296
297 <!-- Includes version nr in war to enable getImplementationVersion() -->
298 <plugin>
299 <artifactId>maven-war-plugin</artifactId>
300 <version>2.2</version>
301 <configuration>
302 <archive>
303 <manifest>
304 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
305 </manifest>
306 </archive>
307 </configuration>
308 </plugin>
309
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-dependency-plugin</artifactId>
313 <!-- leave out version to help Eclipse workaround -->
314 <executions>
315 <execution>
316 <id>resource-dependencies</id>
317 <phase>process-test-resources</phase>
318 <goals>
319 <goal>copy-dependencies</goal>
320 </goals>
321 </execution>
322 </executions>
323 <configuration>
324 <outputDirectory>${project.build.directory}/jars</outputDirectory>
325 <overWriteReleases>false</overWriteReleases>
326 <overWriteSnapshots>true</overWriteSnapshots>
327 </configuration>
328 </plugin>
329
330
331
332 <plugin>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-dependency-plugin</artifactId>
335 <!-- leave out version to help Eclipse workaround -->
336 <executions>
337 <execution>
338 <id>resource-dependencies</id>
339 <phase>process-test-resources</phase>
340 <goals>
341 <goal>copy-dependencies</goal>
342 </goals>
343 </execution>
344 </executions>
345 <configuration>
346 <outputDirectory>${project.build.directory}/jars</outputDirectory>
347 <overWriteReleases>false</overWriteReleases>
348 <overWriteSnapshots>true</overWriteSnapshots>
349 </configuration>
350 </plugin>
351
352
353
354 <plugin>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-compiler-plugin</artifactId>
357 <version>3.8.0</version>
358 <configuration>
359 <source>1.8</source>
360 <target>1.8</target>
361 </configuration>
362 </plugin>
363
364 <plugin>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-javadoc-plugin</artifactId>
367 <version>2.10.1</version>
368 <executions>
369 <execution>
370 <id>attach-javadocs</id>
371 <goals>
372 <goal>jar</goal>
373 </goals>
374 <configuration>
375 <additionalparam>${javadoc.opts}</additionalparam>
376 <additionalparam>-Xdoclint:none</additionalparam>
377 </configuration>
378 </execution>
379 </executions>
380 </plugin>
381
382 <plugin>
383 <groupId>org.jfrog.buildinfo</groupId>
384 <artifactId>artifactory-maven-plugin</artifactId>
385 <version>3.2.3</version>
386 <executions>
387 <execution>
388 <id>build-info</id>
389 <goals>
390 <goal>publish</goal>
391 </goals>
392 <configuration>
393 <publisher>
394 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
395 <repoKey>libs-release</repoKey>
396 <username>wouter</username>
397 <password>${passwd}</password>
398 </publisher>
399 </configuration>
400 </execution>
401 </executions>
402 </plugin>
403
404 <plugin>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-assembly-plugin</artifactId>
407 <version>2.4.1</version>
408 <configuration>
409 <!-- get all project dependencies -->
410 <descriptorRefs>
411 <descriptorRef>jar-with-dependencies</descriptorRef>
412 </descriptorRefs>
413 <archive>
414 <manifest>
415 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
416 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
417 </manifest>
418 </archive>
419 </configuration>
420 <executions>
421 <execution>
422 <id>make-assembly</id>
423 <!-- bind to the packaging phase -->
424 <phase>package</phase>
425 <goals>
426 <goal>single</goal>
427 </goals>
428 </execution>
429 </executions>
430 </plugin>
431
432
433 <!-- Special plugin for the tomcat embedded stuff? -->
434 <plugin>
435 <groupId>org.codehaus.mojo</groupId>
436 <artifactId>appassembler-maven-plugin</artifactId>
437 <version>2.0.0</version>
438 <configuration>
439 <assembleDirectory>target</assembleDirectory>
440 <programs>
441 <program>
442 <mainClass>launch.Main</mainClass>
443 <name>webapp</name>
444 </program>
445 </programs>
446 </configuration>
447 <executions>
448 <execution>
449 <phase>package</phase>
450 <goals>
451 <goal>assemble</goal>
452 </goals>
453 </execution>
454 </executions>
455 </plugin>
456
457 </plugins>
458
459 <pluginManagement>
460 <plugins>
461 <plugin>
462 <groupId>org.eclipse.m2e</groupId>
463 <artifactId>lifecycle-mapping</artifactId>
464 <version>1.0.0</version>
465 <configuration>
466 <lifecycleMappingMetadata>
467 <pluginExecutions>
468 <pluginExecution>
469 <pluginExecutionFilter>
470 <groupId>org.jfrog.buildinfo</groupId>
471 <artifactId>artifactory-maven-plugin</artifactId>
472 <versionRange>[1.0.0,)</versionRange>
473 <goals>
474 <goal>publish</goal>
475 </goals>
476 </pluginExecutionFilter>
477 <action>
478 <ignore />
479 </action>
480 </pluginExecution>
481 </pluginExecutions>
482 </lifecycleMappingMetadata>
483 </configuration>
484 </plugin>
485 </plugins>
486 </pluginManagement>
487 </build>
488</project>
Note: See TracBrowser for help on using the repository browser.