source: pom.xml@ 17

Last change on this file since 17 was 17, checked in by bart, 4 years ago

Added BOA support, some bug fixes

File size: 12.1 KB
RevLine 
[1]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>
[17]8 <version>1.4.4</version> <!-- must equal ${geniusweb.version} -->
[1]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>
[8]18 <jackson-2-version>2.9.10</jackson-2-version>
[9]19 <!-- <tomcat.version>8.0.53</tomcat.version> -->
20 <tomcat.version>8.5.20</tomcat.version>
[17]21 <geniusweb.version>1.4.4</geniusweb.version>
[9]22 </properties>
[1]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>
[12]46 <url>https://jcenter.bintray.com</url>
[1]47 </pluginRepository>
48 </pluginRepositories>
49
50 <dependencies>
51
52
53 <dependency>
54 <groupId>geniusweb</groupId>
55 <artifactId>party</artifactId>
[13]56 <version>${geniusweb.version}</version>
[1]57 </dependency>
58 <dependency>
59 <groupId>geniusweb</groupId>
60 <artifactId>profile</artifactId>
[13]61 <version>${geniusweb.version}</version>
[1]62 </dependency>
63 <dependency>
64 <groupId>geniusweb</groupId>
65 <artifactId>references</artifactId>
[13]66 <version>${geniusweb.version}</version>
[1]67 </dependency>
68
69 <dependency>
[8]70 <groupId>geniusweb.exampleparties</groupId>
71 <artifactId>randomparty</artifactId>
[13]72 <version>${geniusweb.version}</version>
[8]73 <scope>test</scope>
74 </dependency>
75
76 <dependency>
[1]77 <groupId>tudelft.utilities</groupId>
78 <artifactId>listener</artifactId>
[8]79 <version>1.1.0</version>
80 </dependency>
81 <dependency>
82 <groupId>tudelft.utilities</groupId>
83 <artifactId>logging</artifactId>
[1]84 <version>1.0.0</version>
85 </dependency>
86 <dependency>
87 <groupId>tudelft.utilities</groupId>
88 <artifactId>tree</artifactId>
[14]89 <version>1.1.0</version>
[1]90 </dependency>
91 <dependency>
92 <groupId>tudelft.utilities</groupId>
93 <artifactId>files</artifactId>
[14]94 <version>1.1.0</version>
[1]95 </dependency>
[4]96 <dependency>
[1]97 <groupId>tudelft.utilities</groupId>
98 <artifactId>repository</artifactId>
[14]99 <version>1.1.0</version>
[1]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>
[4]114
[1]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>
[8]192 <version>${tomcat.version}</version>
[1]193 <scope>test</scope>
194 </dependency>
195 <dependency>
196 <groupId>org.apache.tomcat</groupId>
197 <artifactId>tomcat-websocket</artifactId>
[8]198 <version>${tomcat.version}</version>
[1]199 <scope>test</scope>
200 </dependency>
201
[9]202 <dependency>
203 <groupId>junit</groupId>
204 <artifactId>junit</artifactId>
205 <version>4.12</version>
206 <scope>test</scope>
207 </dependency>
[1]208
[9]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
[1]222 </dependencies>
223
224
225 <build>
[14]226 <!-- Don't specify finalName as the war number would mismatch the pom version -->
[1]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>
[13]260 <artifactId>maven-war-plugin</artifactId>
261 <version>3.2.3</version>
262 <configuration>
263 <attachClasses>true</attachClasses>
264 </configuration>
265 </plugin>
266
267 <plugin>
[1]268 <groupId>org.apache.maven.plugins</groupId>
[8]269 <artifactId>maven-enforcer-plugin</artifactId>
270 <version>3.0.0-M2</version>
271 <executions>
272 <execution>
273 <id>enforce</id>
274 <configuration>
275 <rules>
276 <dependencyConvergence />
277 </rules>
278 </configuration>
279 <goals>
280 <goal>enforce</goal>
281 </goals>
282 </execution>
283 </executions>
284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
[4]287 <artifactId>maven-source-plugin</artifactId>
288 <executions>
289 <execution>
290 <id>attach-sources</id>
291 <goals>
292 <goal>jar</goal>
293 </goals>
294 </execution>
295 </executions>
296 </plugin>
297
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
[1]300 <artifactId>maven-dependency-plugin</artifactId>
[8]301 <!-- leave out version to help Eclipse workaround -->
[1]302 <executions>
303 <execution>
304 <id>resource-dependencies</id>
305 <phase>process-test-resources</phase>
306 <goals>
307 <goal>copy-dependencies</goal>
308 </goals>
309 </execution>
310 </executions>
311 <configuration>
312 <outputDirectory>${project.build.directory}/jars</outputDirectory>
313 <overWriteReleases>false</overWriteReleases>
314 <overWriteSnapshots>true</overWriteSnapshots>
315 </configuration>
316 </plugin>
317
318 <plugin>
319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-compiler-plugin</artifactId>
321 <version>3.8.0</version>
322 <configuration>
323 <source>1.8</source>
324 <target>1.8</target>
325 </configuration>
326 </plugin>
327
328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-javadoc-plugin</artifactId>
331 <version>2.10.1</version>
332 <executions>
333 <execution>
334 <id>attach-javadocs</id>
335 <goals>
336 <goal>jar</goal>
337 </goals>
338 <configuration>
339 <additionalparam>${javadoc.opts}</additionalparam>
340 <additionalparam>-Xdoclint:none</additionalparam>
341 </configuration>
342 </execution>
343 </executions>
344 </plugin>
345
346 <plugin>
347 <groupId>org.jfrog.buildinfo</groupId>
348 <artifactId>artifactory-maven-plugin</artifactId>
349 <version>2.6.1</version>
350 <executions>
351 <execution>
352 <id>build-info</id>
353 <goals>
354 <goal>publish</goal>
355 </goals>
356 <configuration>
357 <publisher>
358 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
359 <repoKey>libs-release</repoKey>
360 <username>wouter</username>
361 <password>${passwd}</password>
362 </publisher>
363 </configuration>
364 </execution>
365 </executions>
366 </plugin>
367
368 <plugin>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-assembly-plugin</artifactId>
[8]371 <!-- leave out version to help Eclipse workaround -->
[1]372 <configuration>
373 <!-- get all project dependencies -->
374 <descriptorRefs>
375 <descriptorRef>jar-with-dependencies</descriptorRef>
376 </descriptorRefs>
377 <archive>
378 <manifest>
379 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
380 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
381 </manifest>
382 </archive>
383 </configuration>
384 <executions>
385 <execution>
386 <id>make-assembly</id>
387 <!-- bind to the packaging phase -->
388 <phase>package</phase>
389 <goals>
390 <goal>single</goal>
391 </goals>
392 </execution>
393 </executions>
394 </plugin>
395
396
397 <!-- Special plugin for the tomcat embedded stuff? -->
398 <plugin>
399 <groupId>org.codehaus.mojo</groupId>
400 <artifactId>appassembler-maven-plugin</artifactId>
401 <version>2.0.0</version>
402 <configuration>
403 <assembleDirectory>target</assembleDirectory>
404 <programs>
405 <program>
406 <mainClass>launch.Main</mainClass>
407 <name>webapp</name>
408 </program>
409 </programs>
410 </configuration>
411 <executions>
412 <execution>
413 <phase>package</phase>
414 <goals>
415 <goal>assemble</goal>
416 </goals>
417 </execution>
418 </executions>
419 </plugin>
420
421 </plugins>
422
423 <pluginManagement>
424 <plugins>
425 <plugin>
426 <groupId>org.eclipse.m2e</groupId>
427 <artifactId>lifecycle-mapping</artifactId>
428 <version>1.0.0</version>
429 <configuration>
430 <lifecycleMappingMetadata>
431 <pluginExecutions>
432 <pluginExecution>
433 <pluginExecutionFilter>
434 <groupId>org.jfrog.buildinfo</groupId>
435 <artifactId>artifactory-maven-plugin</artifactId>
436 <versionRange>[1.0.0,)</versionRange>
437 <goals>
438 <goal>publish</goal>
439 </goals>
440 </pluginExecutionFilter>
441 <action>
442 <ignore />
443 </action>
444 </pluginExecution>
445 </pluginExecutions>
446 </lifecycleMappingMetadata>
447 </configuration>
448 </plugin>
449 </plugins>
450 </pluginManagement>
451
452
453 </build>
454</project>
Note: See TracBrowser for help on using the repository browser.