source: pom.xml@ 5

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

Fixed performance issue with some computers

File size: 11.2 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.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 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-source-plugin</artifactId>
265 <executions>
266 <execution>
267 <id>attach-sources</id>
268 <goals>
269 <goal>jar</goal>
270 </goals>
271 </execution>
272 </executions>
273 </plugin>
274
275 <plugin>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-dependency-plugin</artifactId>
278 <!-- leave out version to help Eclipse workaround -->
279 <executions>
280 <execution>
281 <id>resource-dependencies</id>
282 <phase>process-test-resources</phase>
283 <goals>
284 <goal>copy-dependencies</goal>
285 </goals>
286 </execution>
287 </executions>
288 <configuration>
289 <outputDirectory>${project.build.directory}/jars</outputDirectory>
290 <overWriteReleases>false</overWriteReleases>
291 <overWriteSnapshots>true</overWriteSnapshots>
292 </configuration>
293 </plugin>
294
295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-compiler-plugin</artifactId>
298 <version>3.8.0</version>
299 <configuration>
300 <source>1.8</source>
301 <target>1.8</target>
302 </configuration>
303 </plugin>
304
305 <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-javadoc-plugin</artifactId>
308 <version>2.10.1</version>
309 <executions>
310 <execution>
311 <id>attach-javadocs</id>
312 <goals>
313 <goal>jar</goal>
314 </goals>
315 <configuration>
316 <additionalparam>${javadoc.opts}</additionalparam>
317 <additionalparam>-Xdoclint:none</additionalparam>
318 </configuration>
319 </execution>
320 </executions>
321 </plugin>
322
323 <plugin>
324 <groupId>org.jfrog.buildinfo</groupId>
325 <artifactId>artifactory-maven-plugin</artifactId>
326 <version>2.6.1</version>
327 <executions>
328 <execution>
329 <id>build-info</id>
330 <goals>
331 <goal>publish</goal>
332 </goals>
333 <configuration>
334 <publisher>
335 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
336 <repoKey>libs-release</repoKey>
337 <username>wouter</username>
338 <password>${passwd}</password>
339 </publisher>
340 </configuration>
341 </execution>
342 </executions>
343 </plugin>
344
345 <plugin>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-assembly-plugin</artifactId>
348 <!-- leave out version to help Eclipse workaround -->
349 <configuration>
350 <!-- get all project dependencies -->
351 <descriptorRefs>
352 <descriptorRef>jar-with-dependencies</descriptorRef>
353 </descriptorRefs>
354 <archive>
355 <manifest>
356 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
357 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
358 </manifest>
359 </archive>
360 </configuration>
361 <executions>
362 <execution>
363 <id>make-assembly</id>
364 <!-- bind to the packaging phase -->
365 <phase>package</phase>
366 <goals>
367 <goal>single</goal>
368 </goals>
369 </execution>
370 </executions>
371 </plugin>
372
373
374 <!-- Special plugin for the tomcat embedded stuff? -->
375 <plugin>
376 <groupId>org.codehaus.mojo</groupId>
377 <artifactId>appassembler-maven-plugin</artifactId>
378 <version>2.0.0</version>
379 <configuration>
380 <assembleDirectory>target</assembleDirectory>
381 <programs>
382 <program>
383 <mainClass>launch.Main</mainClass>
384 <name>webapp</name>
385 </program>
386 </programs>
387 </configuration>
388 <executions>
389 <execution>
390 <phase>package</phase>
391 <goals>
392 <goal>assemble</goal>
393 </goals>
394 </execution>
395 </executions>
396 </plugin>
397
398 </plugins>
399
400 <pluginManagement>
401 <plugins>
402 <plugin>
403 <groupId>org.eclipse.m2e</groupId>
404 <artifactId>lifecycle-mapping</artifactId>
405 <version>1.0.0</version>
406 <configuration>
407 <lifecycleMappingMetadata>
408 <pluginExecutions>
409 <pluginExecution>
410 <pluginExecutionFilter>
411 <groupId>org.jfrog.buildinfo</groupId>
412 <artifactId>artifactory-maven-plugin</artifactId>
413 <versionRange>[1.0.0,)</versionRange>
414 <goals>
415 <goal>publish</goal>
416 </goals>
417 </pluginExecutionFilter>
418 <action>
419 <ignore />
420 </action>
421 </pluginExecution>
422 </pluginExecutions>
423 </lifecycleMappingMetadata>
424 </configuration>
425 </plugin>
426 </plugins>
427 </pluginManagement>
428
429
430 </build>
431</project>
Note: See TracBrowser for help on using the repository browser.