source: pom.xml@ 12

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

Release 1.4.0

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