source: pom.xml@ 7

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

Release 1.1.0

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