source: pom.xml@ 2

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

Initial Release

File size: 10.0 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.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
243 <plugin>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-compiler-plugin</artifactId>
246 <version>3.8.0</version>
247 <configuration>
248 <source>1.8</source>
249 <target>1.8</target>
250 </configuration>
251 </plugin>
252
253 <plugin>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-javadoc-plugin</artifactId>
256 <version>2.10.1</version>
257 <executions>
258 <execution>
259 <id>attach-javadocs</id>
260 <goals>
261 <goal>jar</goal>
262 </goals>
263 <configuration>
264 <additionalparam>${javadoc.opts}</additionalparam>
265 <additionalparam>-Xdoclint:none</additionalparam>
266 </configuration>
267 </execution>
268 </executions>
269 </plugin>
270
271 <plugin>
272 <groupId>org.jfrog.buildinfo</groupId>
273 <artifactId>artifactory-maven-plugin</artifactId>
274 <version>2.6.1</version>
275 <executions>
276 <execution>
277 <id>build-info</id>
278 <goals>
279 <goal>publish</goal>
280 </goals>
281 <configuration>
282 <publisher>
283 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
284 <repoKey>libs-release</repoKey>
285 <username>wouter</username>
286 <password>${passwd}</password>
287 </publisher>
288 </configuration>
289 </execution>
290 </executions>
291 </plugin>
292
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-assembly-plugin</artifactId>
296 <version>2.4.1</version>
297 <configuration>
298 <!-- get all project dependencies -->
299 <descriptorRefs>
300 <descriptorRef>jar-with-dependencies</descriptorRef>
301 </descriptorRefs>
302 <archive>
303 <manifest>
304 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
305 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
306 </manifest>
307 </archive>
308 </configuration>
309 <executions>
310 <execution>
311 <id>make-assembly</id>
312 <!-- bind to the packaging phase -->
313 <phase>package</phase>
314 <goals>
315 <goal>single</goal>
316 </goals>
317 </execution>
318 </executions>
319 </plugin>
320
321
322 <!-- Special plugin for the tomcat embedded stuff? -->
323 <plugin>
324 <groupId>org.codehaus.mojo</groupId>
325 <artifactId>appassembler-maven-plugin</artifactId>
326 <version>2.0.0</version>
327 <configuration>
328 <assembleDirectory>target</assembleDirectory>
329 <programs>
330 <program>
331 <mainClass>launch.Main</mainClass>
332 <name>webapp</name>
333 </program>
334 </programs>
335 </configuration>
336 <executions>
337 <execution>
338 <phase>package</phase>
339 <goals>
340 <goal>assemble</goal>
341 </goals>
342 </execution>
343 </executions>
344 </plugin>
345
346 </plugins>
347
348 <pluginManagement>
349 <plugins>
350 <plugin>
351 <groupId>org.eclipse.m2e</groupId>
352 <artifactId>lifecycle-mapping</artifactId>
353 <version>1.0.0</version>
354 <configuration>
355 <lifecycleMappingMetadata>
356 <pluginExecutions>
357 <pluginExecution>
358 <pluginExecutionFilter>
359 <groupId>org.jfrog.buildinfo</groupId>
360 <artifactId>artifactory-maven-plugin</artifactId>
361 <versionRange>[1.0.0,)</versionRange>
362 <goals>
363 <goal>publish</goal>
364 </goals>
365 </pluginExecutionFilter>
366 <action>
367 <ignore />
368 </action>
369 </pluginExecution>
370 </pluginExecutions>
371 </lifecycleMappingMetadata>
372 </configuration>
373 </plugin>
374 </plugins>
375 </pluginManagement>
376
377
378 </build>
379</project>
Note: See TracBrowser for help on using the repository browser.