source: pom.xml@ 2

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

Initial Release

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