source: pom.xml@ 10

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

Tournament overview table, few bug fixes

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