source: pom.xml@ 14

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

Update to version 1.41

File size: 10.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>runserver</artifactId>
7 <packaging>war</packaging>
[14]8 <version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
[1]9 <name>runserver Maven Webapp</name>
10 <url>http://maven.apache.org</url>
11
12
13 <properties>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 <maven.compiler.target>1.8</maven.compiler.target>
16 <maven.compiler.source>1.8</maven.compiler.source>
17 <basedir>.</basedir>
18 <passwd>${env.ARTIFACTORY_PASS}</passwd>
[7]19 <jackson-2-version>2.9.10</jackson-2-version>
[1]20 <tomcat.version>8.0.53</tomcat.version>
[14]21 <geniusweb.version>1.4.1</geniusweb.version>
[1]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
44 <pluginRepositories>
45 <pluginRepository>
46 <id>jcenter</id>
[11]47 <url>https://jcenter.bintray.com</url>
[1]48 </pluginRepository>
49 </pluginRepositories>
50
51
52 <dependencies>
53 <dependency>
54 <groupId>geniusweb</groupId>
55 <artifactId>profile</artifactId>
[12]56 <version>${geniusweb.version}</version>
[1]57 </dependency>
58
59 <dependency>
60 <groupId>geniusweb</groupId>
61 <artifactId>party</artifactId>
[12]62 <version>${geniusweb.version}</version>
[1]63 </dependency>
64
65 <dependency>
66 <groupId>geniusweb</groupId>
67 <artifactId>references</artifactId>
[12]68 <version>${geniusweb.version}</version>
[1]69 </dependency>
70
71 <dependency>
72 <groupId>geniusweb</groupId>
73 <artifactId>protocol</artifactId>
[12]74 <version>${geniusweb.version}</version>
[1]75 </dependency>
76
77 <dependency>
78 <groupId>tudelft.utilities</groupId>
79 <artifactId>repository</artifactId>
[14]80 <version>1.1.0</version>
[1]81 </dependency>
82
83 <dependency>
84 <groupId>tudelft.utilities</groupId>
85 <artifactId>listener</artifactId>
[7]86 <version>1.1.0</version>
[1]87 </dependency>
88
89 <dependency>
90 <groupId>javax.websocket</groupId>
91 <artifactId>javax.websocket-api</artifactId>
92 <version>1.1</version>
93 </dependency>
94
95 <!-- the core, which includes Streaming API, shared low-level abstractions
96 (but NOT data-binding) -->
97 <dependency>
98 <groupId>com.fasterxml.jackson.core</groupId>
99 <artifactId>jackson-core</artifactId>
100 <version>${jackson-2-version}</version>
101 </dependency>
102
103 <!-- Just the annotations; use this dependency if you want to attach annotations
104 to classes without connecting them to the code. -->
105 <dependency>
106 <groupId>com.fasterxml.jackson.core</groupId>
107 <artifactId>jackson-annotations</artifactId>
108 <version>${jackson-2-version}</version>
109 </dependency>
110
111 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
112 <dependency>
113 <groupId>com.fasterxml.jackson.core</groupId>
114 <artifactId>jackson-databind</artifactId>
115 <version>${jackson-2-version}</version>
116 </dependency>
117
118 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
119 <dependency>
120 <groupId>com.fasterxml.jackson.dataformat</groupId>
121 <artifactId>jackson-dataformat-smile</artifactId>
122 <version>${jackson-2-version}</version>
123 </dependency>
124 <!-- JAX-RS provider -->
125 <dependency>
126 <groupId>com.fasterxml.jackson.jaxrs</groupId>
127 <artifactId>jackson-jaxrs-json-provider</artifactId>
128 <version>${jackson-2-version}</version>
129 </dependency>
130 <!-- Support for JAX-B annotations as additional configuration -->
131 <dependency>
132 <groupId>com.fasterxml.jackson.module</groupId>
133 <artifactId>jackson-module-jaxb-annotations</artifactId>
134 <version>${jackson-2-version}</version>
135 </dependency>
136
137
138 <dependency>
139 <groupId>junit</groupId>
140 <artifactId>junit</artifactId>
[5]141 <version>4.12</version>
[1]142 <scope>test</scope>
143 </dependency>
144
145 <dependency>
146 <groupId>javax.servlet</groupId>
147 <artifactId>javax.servlet-api</artifactId>
148 <version>3.1.0</version>
149 <scope>provided</scope>
150 </dependency>
151
152 </dependencies>
153
154 <build>
[14]155 <!-- Don't specify finalName as the war number would mismatch the pom version -->
[1]156
157
158 <resources>
159 <resource>
160 <directory>src/main/webapp/log</directory>
161 </resource>
162 </resources>
163
164
165 <plugins>
166 <!-- Copy the log dir to have good place for logging -->
167 <plugin>
168 <artifactId>maven-resources-plugin</artifactId>
169 <version>3.1.0</version>
170 <executions>
171 <execution>
172 <id>copy-resources</id>
173 <phase>validate</phase>
174 <goals>
175 <goal>copy-resources</goal>
176 </goals>
177 <configuration>
178 <outputDirectory>${basedir}/target/log</outputDirectory>
179 <resources>
180 <resource>
181 <directory>src/main/webapp/log</directory>
182 </resource>
183 </resources>
184 </configuration>
185 </execution>
186 </executions>
187 </plugin>
[3]188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
[7]190 <artifactId>maven-enforcer-plugin</artifactId>
191 <version>3.0.0-M2</version>
192 <executions>
193 <execution>
194 <id>enforce</id>
195 <configuration>
196 <rules>
197 <dependencyConvergence />
198 </rules>
199 </configuration>
200 <goals>
201 <goal>enforce</goal>
202 </goals>
203 </execution>
204 </executions>
205 </plugin>
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
[3]208 <artifactId>maven-source-plugin</artifactId>
209 <executions>
210 <execution>
211 <id>attach-sources</id>
212 <goals>
213 <goal>jar</goal>
214 </goals>
215 </execution>
216 </executions>
217 </plugin>
[1]218
[14]219 <!-- Includes version nr in war to enable getImplementationVersion() -->
[1]220 <plugin>
[14]221 <artifactId>maven-war-plugin</artifactId>
222 <version>2.2</version>
223 <configuration>
224 <archive>
225 <manifest>
226 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
227 </manifest>
228 </archive>
229 </configuration>
230 </plugin>
231
232 <plugin>
[1]233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-dependency-plugin</artifactId>
[7]235 <!-- leave out version to help Eclipse workaround -->
[1]236 <executions>
237 <execution>
238 <id>resource-dependencies</id>
239 <phase>process-test-resources</phase>
240 <goals>
241 <goal>copy-dependencies</goal>
242 </goals>
243 </execution>
244 </executions>
245 <configuration>
246 <outputDirectory>${project.build.directory}/jars</outputDirectory>
247 <overWriteReleases>false</overWriteReleases>
248 <overWriteSnapshots>true</overWriteSnapshots>
249 </configuration>
250 </plugin>
251
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-compiler-plugin</artifactId>
255 <version>3.8.0</version>
256 <configuration>
257 <source>1.8</source>
258 <target>1.8</target>
259 </configuration>
260 </plugin>
261
262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-javadoc-plugin</artifactId>
265 <version>2.10.1</version>
266 <executions>
267 <execution>
268 <id>attach-javadocs</id>
269 <goals>
270 <goal>jar</goal>
271 </goals>
272 <configuration>
273 <additionalparam>${javadoc.opts}</additionalparam>
274 <additionalparam>-Xdoclint:none</additionalparam>
275 </configuration>
276 </execution>
277 </executions>
278 </plugin>
279
280 <plugin>
281 <groupId>org.jfrog.buildinfo</groupId>
282 <artifactId>artifactory-maven-plugin</artifactId>
283 <version>2.6.1</version>
284 <executions>
285 <execution>
286 <id>build-info</id>
287 <goals>
288 <goal>publish</goal>
289 </goals>
290 <configuration>
291 <publisher>
292 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
293 <repoKey>libs-release</repoKey>
294 <username>wouter</username>
295 <password>${passwd}</password>
296 </publisher>
297 </configuration>
298 </execution>
299 </executions>
300 </plugin>
301
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-assembly-plugin</artifactId>
305 <version>2.4.1</version>
306 <configuration>
307 <!-- get all project dependencies -->
308 <descriptorRefs>
309 <descriptorRef>jar-with-dependencies</descriptorRef>
310 </descriptorRefs>
311 <archive>
312 <manifest>
313 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
314 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
315 </manifest>
316 </archive>
317 </configuration>
318 <executions>
319 <execution>
320 <id>make-assembly</id>
321 <!-- bind to the packaging phase -->
322 <phase>package</phase>
323 <goals>
324 <goal>single</goal>
325 </goals>
326 </execution>
327 </executions>
328 </plugin>
329
330
331 <!-- Special plugin for the tomcat embedded stuff? -->
332 <plugin>
333 <groupId>org.codehaus.mojo</groupId>
334 <artifactId>appassembler-maven-plugin</artifactId>
335 <version>2.0.0</version>
336 <configuration>
337 <assembleDirectory>target</assembleDirectory>
338 <programs>
339 <program>
340 <mainClass>launch.Main</mainClass>
341 <name>webapp</name>
342 </program>
343 </programs>
344 </configuration>
345 <executions>
346 <execution>
347 <phase>package</phase>
348 <goals>
349 <goal>assemble</goal>
350 </goals>
351 </execution>
352 </executions>
353 </plugin>
354
355 </plugins>
356
357 <pluginManagement>
358 <plugins>
359 <plugin>
360 <groupId>org.eclipse.m2e</groupId>
361 <artifactId>lifecycle-mapping</artifactId>
362 <version>1.0.0</version>
363 <configuration>
364 <lifecycleMappingMetadata>
365 <pluginExecutions>
366 <pluginExecution>
367 <pluginExecutionFilter>
368 <groupId>org.jfrog.buildinfo</groupId>
369 <artifactId>artifactory-maven-plugin</artifactId>
370 <versionRange>[1.0.0,)</versionRange>
371 <goals>
372 <goal>publish</goal>
373 </goals>
374 </pluginExecutionFilter>
375 <action>
376 <ignore />
377 </action>
378 </pluginExecution>
379 </pluginExecutions>
380 </lifecycleMappingMetadata>
381 </configuration>
382 </plugin>
383 </plugins>
384 </pluginManagement>
385 </build>
386</project>
Note: See TracBrowser for help on using the repository browser.