source: pom.xml@ 15

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

Added BOA support, some bug fixes

File size: 11.5 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.4</version> <!-- must equal ${geniusweb.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.4</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.1.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.1.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 <!-- Don't specify finalName as the war number would mismatch the pom version -->
217
218 <resources>
219 <resource>
220 <directory>src/main/webapp/domainsrepo</directory>
221 </resource>
222 </resources>
223
224
225 <plugins>
226 <!-- Copy the domainsrepo for testing purposes, otherwise the server can't
227 find the repo -->
228 <plugin>
229 <artifactId>maven-resources-plugin</artifactId>
230 <version>3.1.0</version>
231 <executions>
232 <execution>
233 <id>copy-resources</id>
234 <phase>validate</phase>
235 <goals>
236 <goal>copy-resources</goal>
237 </goals>
238 <configuration>
239 <outputDirectory>${basedir}/target/domainsrepo</outputDirectory>
240 <resources>
241 <resource>
242 <directory>src/main/webapp/domainsrepo</directory>
243 </resource>
244 </resources>
245 </configuration>
246 </execution>
247 </executions>
248 </plugin>
249
250 <!-- This makes but does not install the jar <plugin> <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>make-a-jar</id>
252 <phase>compile</phase> <goals> <goal>jar</goal> </goals> </execution> </executions>
253 </plugin> -->
254 <!-- This does nothign <plugin> <artifactId>maven-war-plugin</artifactId>
255 <configuration> <archiveClasses>true</archiveClasses> </configuration> </plugin> -->
256
257 <plugin>
258 <artifactId>maven-war-plugin</artifactId>
259 <version>3.2.3</version>
260 <configuration>
261 <attachClasses>true</attachClasses>
262 </configuration>
263 </plugin>
264
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-enforcer-plugin</artifactId>
268 <version>3.0.0-M2</version>
269 <executions>
270 <execution>
271 <id>enforce</id>
272 <configuration>
273 <rules>
274 <dependencyConvergence />
275 </rules>
276 </configuration>
277 <goals>
278 <goal>enforce</goal>
279 </goals>
280 </execution>
281 </executions>
282 </plugin>
283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-source-plugin</artifactId>
286 <executions>
287 <execution>
288 <id>attach-sources</id>
289 <goals>
290 <goal>jar</goal>
291 </goals>
292 </execution>
293 </executions>
294 </plugin>
295
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-compiler-plugin</artifactId>
299 <version>3.8.0</version>
300 <configuration>
301 <source>1.8</source>
302 <target>1.8</target>
303 </configuration>
304 </plugin>
305
306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-javadoc-plugin</artifactId>
309 <version>2.10.1</version>
310 <executions>
311 <execution>
312 <id>attach-javadocs</id>
313 <goals>
314 <goal>jar</goal>
315 </goals>
316 <configuration>
317 <additionalparam>${javadoc.opts}</additionalparam>
318 <additionalparam>-Xdoclint:none</additionalparam>
319 </configuration>
320 </execution>
321 </executions>
322 </plugin>
323
324 <plugin>
325 <groupId>org.jfrog.buildinfo</groupId>
326 <artifactId>artifactory-maven-plugin</artifactId>
327 <version>2.6.1</version>
328 <executions>
329 <execution>
330 <id>build-info</id>
331 <goals>
332 <goal>publish</goal>
333 </goals>
334 <configuration>
335 <publisher>
336 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
337 <repoKey>libs-release</repoKey>
338 <username>wouter</username>
339 <password>${passwd}</password>
340 </publisher>
341 </configuration>
342 </execution>
343 </executions>
344 </plugin>
345 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId>
346 <version>2.4.1</version> <configuration> get all project dependencies <descriptorRefs>
347 <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive>
348 <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
349 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest>
350 </archive> </configuration> <executions> <execution> <id>make-assembly</id>
351 bind to the packaging phase <phase>package</phase> <goals> <goal>single</goal>
352 </goals> </execution> </executions> </plugin> -->
353
354 <!-- Special plugin for the tomcat embedded stuff? -->
355 <plugin>
356 <groupId>org.codehaus.mojo</groupId>
357 <artifactId>appassembler-maven-plugin</artifactId>
358 <version>2.0.0</version>
359 <configuration>
360 <assembleDirectory>target</assembleDirectory>
361 <programs>
362 <program>
363 <mainClass>launch.Main</mainClass>
364 <name>webapp</name>
365 </program>
366 </programs>
367 </configuration>
368 <executions>
369 <execution>
370 <phase>package</phase>
371 <goals>
372 <goal>assemble</goal>
373 </goals>
374 </execution>
375 </executions>
376 </plugin>
377
378 </plugins>
379
380 <pluginManagement>
381 <plugins>
382 <plugin>
383 <groupId>org.eclipse.m2e</groupId>
384 <artifactId>lifecycle-mapping</artifactId>
385 <version>1.0.0</version>
386 <configuration>
387 <lifecycleMappingMetadata>
388 <pluginExecutions>
389 <pluginExecution>
390 <pluginExecutionFilter>
391 <groupId>org.jfrog.buildinfo</groupId>
392 <artifactId>artifactory-maven-plugin</artifactId>
393 <versionRange>[1.0.0,)</versionRange>
394 <goals>
395 <goal>publish</goal>
396 </goals>
397 </pluginExecutionFilter>
398 <action>
399 <ignore />
400 </action>
401 </pluginExecution>
402 </pluginExecutions>
403 </lifecycleMappingMetadata>
404 </configuration>
405 </plugin>
406 </plugins>
407
408 </pluginManagement>
409
410
411 </build>
412</project>
Note: See TracBrowser for help on using the repository browser.