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.0.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.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>junit</groupId>
|
---|
51 | <artifactId>junit</artifactId>
|
---|
52 | <version>4.12</version>
|
---|
53 | <scope>test</scope>
|
---|
54 | </dependency>
|
---|
55 | <dependency>
|
---|
56 | <groupId>tudelft.utilities</groupId>
|
---|
57 | <artifactId>logging</artifactId>
|
---|
58 | <version>1.0.0</version>
|
---|
59 | </dependency>
|
---|
60 | <dependency>
|
---|
61 | <groupId>tudelft.utilities</groupId>
|
---|
62 | <artifactId>files</artifactId>
|
---|
63 | <version>1.0.0</version>
|
---|
64 | </dependency>
|
---|
65 |
|
---|
66 | <dependency>
|
---|
67 | <groupId>org.mockito</groupId>
|
---|
68 | <artifactId>mockito-all</artifactId>
|
---|
69 | <version>1.9.5</version>
|
---|
70 | <scope>test</scope>
|
---|
71 | </dependency>
|
---|
72 |
|
---|
73 |
|
---|
74 | <dependency>
|
---|
75 | <groupId>geniusweb</groupId>
|
---|
76 | <artifactId>profile</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 |
|
---|
92 | <dependency>
|
---|
93 | <groupId>tudelft.utilities</groupId>
|
---|
94 | <artifactId>junit</artifactId>
|
---|
95 | <version>1.0.1</version>
|
---|
96 | </dependency>
|
---|
97 |
|
---|
98 | <dependency>
|
---|
99 | <groupId>javax.websocket</groupId>
|
---|
100 | <artifactId>javax.websocket-api</artifactId>
|
---|
101 | <version>1.1</version>
|
---|
102 | </dependency>
|
---|
103 |
|
---|
104 | <!-- the core, which includes Streaming API, shared low-level abstractions
|
---|
105 | (but NOT data-binding) -->
|
---|
106 | <dependency>
|
---|
107 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
108 | <artifactId>jackson-core</artifactId>
|
---|
109 | <version>${jackson-2-version}</version>
|
---|
110 | </dependency>
|
---|
111 |
|
---|
112 | <!-- Just the annotations; use this dependency if you want to attach annotations
|
---|
113 | to classes without connecting them to the code. -->
|
---|
114 | <dependency>
|
---|
115 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
116 | <artifactId>jackson-annotations</artifactId>
|
---|
117 | <version>${jackson-2-version}</version>
|
---|
118 | </dependency>
|
---|
119 |
|
---|
120 | <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
|
---|
121 | <dependency>
|
---|
122 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
123 | <artifactId>jackson-databind</artifactId>
|
---|
124 | <version>${jackson-2-version}</version>
|
---|
125 | </dependency>
|
---|
126 |
|
---|
127 | <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
|
---|
128 | <dependency>
|
---|
129 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
---|
130 | <artifactId>jackson-dataformat-smile</artifactId>
|
---|
131 | <version>${jackson-2-version}</version>
|
---|
132 | </dependency>
|
---|
133 | <!-- JAX-RS provider -->
|
---|
134 | <dependency>
|
---|
135 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
---|
136 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
---|
137 | <version>${jackson-2-version}</version>
|
---|
138 | </dependency>
|
---|
139 | <!-- Support for JAX-B annotations as additional configuration -->
|
---|
140 | <dependency>
|
---|
141 | <groupId>com.fasterxml.jackson.module</groupId>
|
---|
142 | <artifactId>jackson-module-jaxb-annotations</artifactId>
|
---|
143 | <version>${jackson-2-version}</version>
|
---|
144 | </dependency>
|
---|
145 |
|
---|
146 | <!-- embedded-tomcat for testing the server -->
|
---|
147 | <dependency>
|
---|
148 | <groupId>org.apache.tomcat.embed</groupId>
|
---|
149 | <artifactId>tomcat-embed-core</artifactId>
|
---|
150 | <version>${tomcat.version}</version>
|
---|
151 | <scope>test</scope>
|
---|
152 | </dependency>
|
---|
153 | <dependency>
|
---|
154 | <groupId>org.apache.tomcat.embed</groupId>
|
---|
155 | <artifactId>tomcat-embed-jasper</artifactId>
|
---|
156 | <version>${tomcat.version}</version>
|
---|
157 | <scope>test</scope>
|
---|
158 | </dependency>
|
---|
159 | <dependency>
|
---|
160 | <groupId>org.apache.tomcat</groupId>
|
---|
161 | <artifactId>tomcat-jasper</artifactId>
|
---|
162 | <version>${tomcat.version}</version>
|
---|
163 | <scope>test</scope>
|
---|
164 | </dependency>
|
---|
165 | <dependency>
|
---|
166 | <groupId>org.apache.tomcat</groupId>
|
---|
167 | <artifactId>tomcat-jasper-el</artifactId>
|
---|
168 | <version>${tomcat.version}</version>
|
---|
169 | <scope>test</scope>
|
---|
170 | </dependency>
|
---|
171 | <dependency>
|
---|
172 | <groupId>org.apache.tomcat</groupId>
|
---|
173 | <artifactId>tomcat-jsp-api</artifactId>
|
---|
174 | <version>${tomcat.version}</version>
|
---|
175 | <scope>test</scope>
|
---|
176 | </dependency>
|
---|
177 | <dependency>
|
---|
178 | <groupId>com.neovisionaries</groupId>
|
---|
179 | <artifactId>nv-websocket-client</artifactId>
|
---|
180 | <version>2.6</version>
|
---|
181 | <scope>test</scope>
|
---|
182 | </dependency>
|
---|
183 |
|
---|
184 | <dependency>
|
---|
185 | <groupId>org.apache.tomcat.embed</groupId>
|
---|
186 | <artifactId>tomcat-embed-core</artifactId>
|
---|
187 | <version>8.5.20</version>
|
---|
188 | <scope>test</scope>
|
---|
189 | </dependency>
|
---|
190 | <dependency>
|
---|
191 | <groupId>org.apache.tomcat</groupId>
|
---|
192 | <artifactId>tomcat-websocket</artifactId>
|
---|
193 | <version>8.5.20</version>
|
---|
194 | <scope>test</scope>
|
---|
195 | </dependency>
|
---|
196 |
|
---|
197 | <dependency>
|
---|
198 | <groupId>org.python</groupId>
|
---|
199 | <artifactId>jython-standalone</artifactId>
|
---|
200 | <version>2.7.0</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-source-plugin</artifactId>
|
---|
245 | <executions>
|
---|
246 | <execution>
|
---|
247 | <id>attach-sources</id>
|
---|
248 | <goals>
|
---|
249 | <goal>jar</goal>
|
---|
250 | </goals>
|
---|
251 | </execution>
|
---|
252 | </executions>
|
---|
253 | </plugin>
|
---|
254 |
|
---|
255 | <plugin>
|
---|
256 | <groupId>org.apache.maven.plugins</groupId>
|
---|
257 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
258 | <version>3.8.0</version>
|
---|
259 | <configuration>
|
---|
260 | <source>1.8</source>
|
---|
261 | <target>1.8</target>
|
---|
262 | </configuration>
|
---|
263 | </plugin>
|
---|
264 |
|
---|
265 | <plugin>
|
---|
266 | <groupId>org.apache.maven.plugins</groupId>
|
---|
267 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
268 | <version>2.10.1</version>
|
---|
269 | <executions>
|
---|
270 | <execution>
|
---|
271 | <id>attach-javadocs</id>
|
---|
272 | <goals>
|
---|
273 | <goal>jar</goal>
|
---|
274 | </goals>
|
---|
275 | <configuration>
|
---|
276 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
277 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
278 | </configuration>
|
---|
279 | </execution>
|
---|
280 | </executions>
|
---|
281 | </plugin>
|
---|
282 |
|
---|
283 | <plugin>
|
---|
284 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
285 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
286 | <version>2.6.1</version>
|
---|
287 | <executions>
|
---|
288 | <execution>
|
---|
289 | <id>build-info</id>
|
---|
290 | <goals>
|
---|
291 | <goal>publish</goal>
|
---|
292 | </goals>
|
---|
293 | <configuration>
|
---|
294 | <publisher>
|
---|
295 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
296 | <repoKey>libs-release</repoKey>
|
---|
297 | <username>wouter</username>
|
---|
298 | <password>${passwd}</password>
|
---|
299 | </publisher>
|
---|
300 | </configuration>
|
---|
301 | </execution>
|
---|
302 | </executions>
|
---|
303 | </plugin>
|
---|
304 |
|
---|
305 | <plugin>
|
---|
306 | <groupId>org.apache.maven.plugins</groupId>
|
---|
307 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
308 | <version>2.4.1</version>
|
---|
309 | <configuration>
|
---|
310 | <!-- get all project dependencies -->
|
---|
311 | <descriptorRefs>
|
---|
312 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
313 | </descriptorRefs>
|
---|
314 | <archive>
|
---|
315 | <manifest>
|
---|
316 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
317 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
318 | </manifest>
|
---|
319 | </archive>
|
---|
320 | </configuration>
|
---|
321 | <executions>
|
---|
322 | <execution>
|
---|
323 | <id>make-assembly</id>
|
---|
324 | <!-- bind to the packaging phase -->
|
---|
325 | <phase>package</phase>
|
---|
326 | <goals>
|
---|
327 | <goal>single</goal>
|
---|
328 | </goals>
|
---|
329 | </execution>
|
---|
330 | </executions>
|
---|
331 | </plugin>
|
---|
332 |
|
---|
333 |
|
---|
334 | <!-- Special plugin for the tomcat embedded stuff? -->
|
---|
335 | <plugin>
|
---|
336 | <groupId>org.codehaus.mojo</groupId>
|
---|
337 | <artifactId>appassembler-maven-plugin</artifactId>
|
---|
338 | <version>2.0.0</version>
|
---|
339 | <configuration>
|
---|
340 | <assembleDirectory>target</assembleDirectory>
|
---|
341 | <programs>
|
---|
342 | <program>
|
---|
343 | <mainClass>launch.Main</mainClass>
|
---|
344 | <name>webapp</name>
|
---|
345 | </program>
|
---|
346 | </programs>
|
---|
347 | </configuration>
|
---|
348 | <executions>
|
---|
349 | <execution>
|
---|
350 | <phase>package</phase>
|
---|
351 | <goals>
|
---|
352 | <goal>assemble</goal>
|
---|
353 | </goals>
|
---|
354 | </execution>
|
---|
355 | </executions>
|
---|
356 | </plugin>
|
---|
357 |
|
---|
358 | </plugins>
|
---|
359 |
|
---|
360 | <pluginManagement>
|
---|
361 | <plugins>
|
---|
362 | <plugin>
|
---|
363 | <groupId>org.eclipse.m2e</groupId>
|
---|
364 | <artifactId>lifecycle-mapping</artifactId>
|
---|
365 | <version>1.0.0</version>
|
---|
366 | <configuration>
|
---|
367 | <lifecycleMappingMetadata>
|
---|
368 | <pluginExecutions>
|
---|
369 | <pluginExecution>
|
---|
370 | <pluginExecutionFilter>
|
---|
371 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
372 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
373 | <versionRange>[1.0.0,)</versionRange>
|
---|
374 | <goals>
|
---|
375 | <goal>publish</goal>
|
---|
376 | </goals>
|
---|
377 | </pluginExecutionFilter>
|
---|
378 | <action>
|
---|
379 | <ignore />
|
---|
380 | </action>
|
---|
381 | </pluginExecution>
|
---|
382 | </pluginExecutions>
|
---|
383 | </lifecycleMappingMetadata>
|
---|
384 | </configuration>
|
---|
385 | </plugin>
|
---|
386 | </plugins>
|
---|
387 | </pluginManagement>
|
---|
388 |
|
---|
389 |
|
---|
390 | </build>
|
---|
391 | </project>
|
---|