source: pom.xml@ 25

Last change on this file since 25 was 25, checked in by bart, 4 years ago
  • party capabilities now include profile information. Existing parties may need small fix * plot layout shows accepts * VotingEvaluator use group power instead of group size * runsession you can now also select MOPAC-only parties
File size: 12.1 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.5.6</version> <!-- must equal ${geniusweb.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.5.6</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.1.1</version>
90 </dependency>
91 <dependency>
92 <groupId>tudelft.utilities</groupId>
93 <artifactId>files</artifactId>
94 <version>1.1.1</version>
95 </dependency>
96 <dependency>
97 <groupId>tudelft.utilities</groupId>
98 <artifactId>repository</artifactId>
99 <version>1.1.1</version>
100 </dependency>
101 <dependency>
102 <groupId>tudelft.utilities</groupId>
103 <artifactId>immutablelist</artifactId>
104 <version>1.1.1</version>
105 </dependency>
106
107
108 <dependency>
109 <groupId>javax.websocket</groupId>
110 <artifactId>javax.websocket-api</artifactId>
111 <version>1.1</version>
112 </dependency>
113
114 <dependency>
115 <groupId>javax.servlet</groupId>
116 <artifactId>javax.servlet-api</artifactId>
117 <version>3.1.0</version>
118 </dependency>
119
120 <!-- the core, which includes Streaming API, shared low-level abstractions
121 (but NOT data-binding) -->
122 <dependency>
123 <groupId>com.fasterxml.jackson.core</groupId>
124 <artifactId>jackson-core</artifactId>
125 <version>${jackson-2-version}</version>
126 </dependency>
127
128 <!-- Just the annotations; use this dependency if you want to attach annotations
129 to classes without connecting them to the code. -->
130 <dependency>
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-annotations</artifactId>
133 <version>${jackson-2-version}</version>
134 </dependency>
135
136 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
137 <dependency>
138 <groupId>com.fasterxml.jackson.core</groupId>
139 <artifactId>jackson-databind</artifactId>
140 <version>${jackson-2-version}</version>
141 </dependency>
142
143 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
144 <dependency>
145 <groupId>com.fasterxml.jackson.dataformat</groupId>
146 <artifactId>jackson-dataformat-smile</artifactId>
147 <version>${jackson-2-version}</version>
148 </dependency>
149 <!-- JAX-RS provider -->
150 <dependency>
151 <groupId>com.fasterxml.jackson.jaxrs</groupId>
152 <artifactId>jackson-jaxrs-json-provider</artifactId>
153 <version>${jackson-2-version}</version>
154 </dependency>
155 <!-- Support for JAX-B annotations as additional configuration -->
156 <dependency>
157 <groupId>com.fasterxml.jackson.module</groupId>
158 <artifactId>jackson-module-jaxb-annotations</artifactId>
159 <version>${jackson-2-version}</version>
160 </dependency>
161
162 <!-- embedded-tomcat for testing the server -->
163 <dependency>
164 <groupId>org.apache.tomcat.embed</groupId>
165 <artifactId>tomcat-embed-core</artifactId>
166 <version>${tomcat.version}</version>
167 <scope>test</scope>
168 </dependency>
169 <dependency>
170 <groupId>org.apache.tomcat.embed</groupId>
171 <artifactId>tomcat-embed-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</artifactId>
178 <version>${tomcat.version}</version>
179 <scope>test</scope>
180 </dependency>
181 <dependency>
182 <groupId>org.apache.tomcat</groupId>
183 <artifactId>tomcat-jasper-el</artifactId>
184 <version>${tomcat.version}</version>
185 <scope>test</scope>
186 </dependency>
187 <dependency>
188 <groupId>org.apache.tomcat</groupId>
189 <artifactId>tomcat-jsp-api</artifactId>
190 <version>${tomcat.version}</version>
191 <scope>test</scope>
192 </dependency>
193
194 <dependency>
195 <groupId>org.apache.tomcat.embed</groupId>
196 <artifactId>tomcat-embed-core</artifactId>
197 <version>${tomcat.version}</version>
198 <scope>test</scope>
199 </dependency>
200 <dependency>
201 <groupId>org.apache.tomcat</groupId>
202 <artifactId>tomcat-websocket</artifactId>
203 <version>${tomcat.version}</version>
204 <scope>test</scope>
205 </dependency>
206
207 <dependency>
208 <groupId>junit</groupId>
209 <artifactId>junit</artifactId>
210 <version>4.12</version>
211 <scope>test</scope>
212 </dependency>
213
214 <dependency>
215 <groupId>org.mockito</groupId>
216 <artifactId>mockito-all</artifactId>
217 <version>1.9.5</version>
218 <scope>test</scope>
219 </dependency>
220 <dependency>
221 <groupId>tudelft.utilities</groupId>
222 <artifactId>junit</artifactId>
223 <version>1.0.2</version>
224 <scope>test</scope>
225 </dependency>
226
227 </dependencies>
228
229
230 <build>
231 <!-- Don't specify finalName as the war number would mismatch the pom version -->
232
233 <resources>
234 <resource>
235 <directory>src/main/webapp/partiesrepo</directory>
236 </resource>
237 </resources>
238
239
240 <plugins>
241 <!-- Copy the partiesrepo for testing purposes, otherwise the server can't
242 find the repo -->
243 <plugin>
244 <artifactId>maven-resources-plugin</artifactId>
245 <version>3.1.0</version>
246 <executions>
247 <execution>
248 <id>copy-resources</id>
249 <phase>validate</phase>
250 <goals>
251 <goal>copy-resources</goal>
252 </goals>
253 <configuration>
254 <outputDirectory>${basedir}/target/partiesrepo</outputDirectory>
255 <resources>
256 <resource>
257 <directory>src/main/webapp/partiesrepo</directory>
258 </resource>
259 </resources>
260 </configuration>
261 </execution>
262 </executions>
263 </plugin>
264 <plugin>
265 <artifactId>maven-war-plugin</artifactId>
266 <version>3.2.3</version>
267 <configuration>
268 <attachClasses>true</attachClasses>
269 </configuration>
270 </plugin>
271
272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-enforcer-plugin</artifactId>
275 <version>3.0.0-M2</version>
276 <executions>
277 <execution>
278 <id>enforce</id>
279 <configuration>
280 <rules>
281 <dependencyConvergence />
282 </rules>
283 </configuration>
284 <goals>
285 <goal>enforce</goal>
286 </goals>
287 </execution>
288 </executions>
289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-source-plugin</artifactId>
293 <executions>
294 <execution>
295 <id>attach-sources</id>
296 <goals>
297 <goal>jar</goal>
298 </goals>
299 </execution>
300 </executions>
301 </plugin>
302
303 <plugin>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-dependency-plugin</artifactId>
306 <!-- leave out version to help Eclipse workaround -->
307 <executions>
308 <execution>
309 <id>resource-dependencies</id>
310 <phase>process-test-resources</phase>
311 <goals>
312 <goal>copy-dependencies</goal>
313 </goals>
314 </execution>
315 </executions>
316 <configuration>
317 <outputDirectory>${project.build.directory}/jars</outputDirectory>
318 <overWriteReleases>false</overWriteReleases>
319 <overWriteSnapshots>true</overWriteSnapshots>
320 </configuration>
321 </plugin>
322
323 <plugin>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-compiler-plugin</artifactId>
326 <version>3.8.0</version>
327 <configuration>
328 <source>1.8</source>
329 <target>1.8</target>
330 </configuration>
331 </plugin>
332
333 <plugin>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-javadoc-plugin</artifactId>
336 <version>3.2.0</version>
337 <executions>
338 <execution>
339 <id>attach-javadocs</id>
340 <goals>
341 <goal>jar</goal>
342 </goals>
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.