source: pom.xml@ 8

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

Release 1.1.0

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.1.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 -->
21 <tomcat.version>8.5.20</tomcat.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>http://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>1.1.0</version>
57 </dependency>
58 <dependency>
59 <groupId>geniusweb</groupId>
60 <artifactId>profile</artifactId>
61 <version>1.1.0</version>
62 </dependency>
63 <dependency>
64 <groupId>geniusweb</groupId>
65 <artifactId>references</artifactId>
66 <version>1.1.0</version>
67 </dependency>
68
69 <dependency>
70 <groupId>geniusweb.exampleparties</groupId>
71 <artifactId>randomparty</artifactId>
72 <version>1.1.0</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 <dependency>
102 <groupId>tudelft.utilities</groupId>
103 <artifactId>junit</artifactId>
104 <version>1.0.2</version>
105 </dependency>
106
107 <dependency>
108 <groupId>junit</groupId>
109 <artifactId>junit</artifactId>
110 <version>4.12</version>
111 <scope>test</scope>
112 </dependency>
113
114 <dependency>
115 <groupId>org.mockito</groupId>
116 <artifactId>mockito-all</artifactId>
117 <version>1.9.5</version>
118 <scope>test</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>javax.websocket</groupId>
123 <artifactId>javax.websocket-api</artifactId>
124 <version>1.1</version>
125 </dependency>
126
127 <dependency>
128 <groupId>javax.servlet</groupId>
129 <artifactId>javax.servlet-api</artifactId>
130 <version>3.1.0</version>
131 </dependency>
132
133 <!-- the core, which includes Streaming API, shared low-level abstractions
134 (but NOT data-binding) -->
135 <dependency>
136 <groupId>com.fasterxml.jackson.core</groupId>
137 <artifactId>jackson-core</artifactId>
138 <version>${jackson-2-version}</version>
139 </dependency>
140
141 <!-- Just the annotations; use this dependency if you want to attach annotations
142 to classes without connecting them to the code. -->
143 <dependency>
144 <groupId>com.fasterxml.jackson.core</groupId>
145 <artifactId>jackson-annotations</artifactId>
146 <version>${jackson-2-version}</version>
147 </dependency>
148
149 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
150 <dependency>
151 <groupId>com.fasterxml.jackson.core</groupId>
152 <artifactId>jackson-databind</artifactId>
153 <version>${jackson-2-version}</version>
154 </dependency>
155
156 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
157 <dependency>
158 <groupId>com.fasterxml.jackson.dataformat</groupId>
159 <artifactId>jackson-dataformat-smile</artifactId>
160 <version>${jackson-2-version}</version>
161 </dependency>
162 <!-- JAX-RS provider -->
163 <dependency>
164 <groupId>com.fasterxml.jackson.jaxrs</groupId>
165 <artifactId>jackson-jaxrs-json-provider</artifactId>
166 <version>${jackson-2-version}</version>
167 </dependency>
168 <!-- Support for JAX-B annotations as additional configuration -->
169 <dependency>
170 <groupId>com.fasterxml.jackson.module</groupId>
171 <artifactId>jackson-module-jaxb-annotations</artifactId>
172 <version>${jackson-2-version}</version>
173 </dependency>
174
175 <!-- embedded-tomcat for testing the server -->
176 <dependency>
177 <groupId>org.apache.tomcat.embed</groupId>
178 <artifactId>tomcat-embed-core</artifactId>
179 <version>${tomcat.version}</version>
180 <scope>test</scope>
181 </dependency>
182 <dependency>
183 <groupId>org.apache.tomcat.embed</groupId>
184 <artifactId>tomcat-embed-jasper</artifactId>
185 <version>${tomcat.version}</version>
186 <scope>test</scope>
187 </dependency>
188 <dependency>
189 <groupId>org.apache.tomcat</groupId>
190 <artifactId>tomcat-jasper</artifactId>
191 <version>${tomcat.version}</version>
192 <scope>test</scope>
193 </dependency>
194 <dependency>
195 <groupId>org.apache.tomcat</groupId>
196 <artifactId>tomcat-jasper-el</artifactId>
197 <version>${tomcat.version}</version>
198 <scope>test</scope>
199 </dependency>
200 <dependency>
201 <groupId>org.apache.tomcat</groupId>
202 <artifactId>tomcat-jsp-api</artifactId>
203 <version>${tomcat.version}</version>
204 <scope>test</scope>
205 </dependency>
206
207 <dependency>
208 <groupId>org.apache.tomcat.embed</groupId>
209 <artifactId>tomcat-embed-core</artifactId>
210 <version>${tomcat.version}</version>
211 <scope>test</scope>
212 </dependency>
213 <dependency>
214 <groupId>org.apache.tomcat</groupId>
215 <artifactId>tomcat-websocket</artifactId>
216 <version>${tomcat.version}</version>
217 <scope>test</scope>
218 </dependency>
219
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.