source: pom.xml@ 13

Last change on this file since 13 was 13, checked in by bart, 5 years ago

Release 1.4.0

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