source: PerfectFit/Web/pom.xml

Last change on this file was 7, checked in by Wouter Pasman, 10 months ago

#124 release PerfectFit sources

File size: 9.1 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>perfectfit</groupId>
6 <artifactId>chatserver</artifactId>
7 <packaging>war</packaging>
8 <version>1.0.0</version>
9 <name>PerfectFit Chat Server</name>
10 <url>ii.tudelft.nl</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.14.2</jackson-2-version>
19 <tomcat.version>8.5.73</tomcat.version>
20 <geniusweb.version>${project.version}</geniusweb.version>
21 </properties>
22
23 <distributionManagement>
24 <repository>
25 <id>artifactory.ewi.tudelft.nl</id>
26 <url>https://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>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
35 <snapshots>
36 <enabled>false</enabled>
37 </snapshots>
38 </repository>
39 </repositories>
40
41 <pluginRepositories>
42 <pluginRepository>
43 <id>central</id>
44 <url>https://repo1.maven.org/maven2</url>
45 </pluginRepository>
46 </pluginRepositories>
47
48
49 <dependencies>
50
51 <dependency>
52 <groupId>tudelft.mentalhealth.perfectfit</groupId>
53 <artifactId>movingdialog</artifactId>
54 <version>1.0.0</version>
55 </dependency>
56
57 <dependency>
58 <groupId>javax.servlet</groupId>
59 <artifactId>javax.servlet-api</artifactId>
60 <version>3.1.0</version>
61 <scope>provided</scope>
62 </dependency>
63
64 <!-- the core, which includes Streaming API, shared low-level abstractions
65 (but NOT data-binding) -->
66 <dependency>
67 <groupId>com.fasterxml.jackson.core</groupId>
68 <artifactId>jackson-core</artifactId>
69 <version>${jackson-2-version}</version>
70 </dependency>
71
72 <!-- Just the annotations; use this dependency if you want to attach annotations
73 to classes without connecting them to the code. -->
74 <dependency>
75 <groupId>com.fasterxml.jackson.core</groupId>
76 <artifactId>jackson-annotations</artifactId>
77 <version>${jackson-2-version}</version>
78 </dependency>
79
80 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
81 <dependency>
82 <groupId>com.fasterxml.jackson.core</groupId>
83 <artifactId>jackson-databind</artifactId>
84 <version>${jackson-2-version}</version>
85 </dependency>
86
87 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
88 <dependency>
89 <groupId>com.fasterxml.jackson.dataformat</groupId>
90 <artifactId>jackson-dataformat-smile</artifactId>
91 <version>${jackson-2-version}</version>
92 </dependency>
93 <!-- JAX-RS provider -->
94 <dependency>
95 <groupId>com.fasterxml.jackson.jaxrs</groupId>
96 <artifactId>jackson-jaxrs-json-provider</artifactId>
97 <version>${jackson-2-version}</version>
98 </dependency>
99 <!-- Support for JAX-B annotations as additional configuration -->
100 <dependency>
101 <groupId>com.fasterxml.jackson.module</groupId>
102 <artifactId>jackson-module-jaxb-annotations</artifactId>
103 <version>${jackson-2-version}</version>
104 </dependency>
105
106 <!-- embedded-tomcat for testing the server -->
107 <dependency>
108 <groupId>org.apache.tomcat.embed</groupId>
109 <artifactId>tomcat-embed-core</artifactId>
110 <version>${tomcat.version}</version>
111 <scope>test</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.apache.tomcat.embed</groupId>
115 <artifactId>tomcat-embed-jasper</artifactId>
116 <version>${tomcat.version}</version>
117 <scope>test</scope>
118 </dependency>
119 <dependency>
120 <groupId>org.apache.tomcat</groupId>
121 <artifactId>tomcat-jasper</artifactId>
122 <version>${tomcat.version}</version>
123 <scope>test</scope>
124 </dependency>
125 <dependency>
126 <groupId>org.apache.tomcat</groupId>
127 <artifactId>tomcat-jasper-el</artifactId>
128 <version>${tomcat.version}</version>
129 <scope>test</scope>
130 </dependency>
131 <dependency>
132 <groupId>org.apache.tomcat</groupId>
133 <artifactId>tomcat-jsp-api</artifactId>
134 <version>${tomcat.version}</version>
135 <scope>test</scope>
136 </dependency>
137 <dependency>
138 <groupId>com.neovisionaries</groupId>
139 <artifactId>nv-websocket-client</artifactId>
140 <version>2.6</version>
141 <scope>test</scope>
142 </dependency>
143
144 <dependency>
145 <groupId>org.apache.tomcat.embed</groupId>
146 <artifactId>tomcat-embed-core</artifactId>
147 <version>${tomcat.version}</version>
148 <scope>test</scope>
149 </dependency>
150 <dependency>
151 <groupId>org.apache.tomcat</groupId>
152 <artifactId>tomcat-websocket</artifactId>
153 <version>${tomcat.version}</version>
154 <scope>test</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>junit</groupId>
159 <artifactId>junit</artifactId>
160 <version>4.12</version>
161 <scope>test</scope>
162 </dependency>
163 <dependency>
164 <groupId>org.mockito</groupId>
165 <artifactId>mockito-core</artifactId>
166 <version>3.11.2</version>
167 <scope>test</scope>
168 </dependency>
169
170 </dependencies>
171
172
173 <build>
174 <!-- Don't specify finalName as the war number would mismatch the pom version -->
175
176
177 <plugins>
178 <!-- Copy the domainsrepo for testing purposes, otherwise the server can't
179 find the repo -->
180 <plugin>
181 <artifactId>maven-resources-plugin</artifactId>
182 <version>3.1.0</version>
183 <executions>
184 <execution>
185 <id>copy-resources</id>
186 <phase>validate</phase>
187 <goals>
188 <goal>copy-resources</goal>
189 </goals>
190 <configuration>
191 <outputDirectory>${basedir}/target/domainsrepo</outputDirectory>
192 <resources>
193 <resource>
194 <directory>src/main/webapp/domainsrepo</directory>
195 </resource>
196 </resources>
197 </configuration>
198 </execution>
199 </executions>
200 </plugin>
201
202
203 <plugin>
204 <artifactId>maven-war-plugin</artifactId>
205 <version>3.2.3</version>
206 <configuration>
207 <attachClasses>true</attachClasses>
208 </configuration>
209 </plugin>
210
211 <plugin>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-enforcer-plugin</artifactId>
214 <version>3.0.0-M2</version>
215 <executions>
216 <execution>
217 <id>enforce</id>
218 <configuration>
219 <rules>
220 <dependencyConvergence />
221 </rules>
222 </configuration>
223 <goals>
224 <goal>enforce</goal>
225 </goals>
226 </execution>
227 </executions>
228 </plugin>
229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-source-plugin</artifactId>
232 <version>3.2.1</version>
233 <executions>
234 <execution>
235 <id>attach-sources</id>
236 <goals>
237 <goal>jar</goal>
238 </goals>
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>3.2.0</version>
257 <executions>
258 <execution>
259 <id>attach-javadocs</id>
260 <goals>
261 <goal>jar</goal>
262 </goals>
263 </execution>
264 </executions>
265 </plugin>
266
267 <plugin>
268 <groupId>org.jfrog.buildinfo</groupId>
269 <artifactId>artifactory-maven-plugin</artifactId>
270 <version>3.2.3</version>
271 <executions>
272 <execution>
273 <id>build-info</id>
274 <goals>
275 <goal>publish</goal>
276 </goals>
277 <configuration>
278 <publisher>
279 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
280 <repoKey>libs-release</repoKey>
281 <username>wouter</username>
282 <password>${passwd}</password>
283 </publisher>
284 </configuration>
285 </execution>
286 </executions>
287 </plugin>
288
289
290 <!-- Special plugin for the tomcat embedded stuff? -->
291 <plugin>
292 <groupId>org.codehaus.mojo</groupId>
293 <artifactId>appassembler-maven-plugin</artifactId>
294 <version>2.0.0</version>
295 <configuration>
296 <assembleDirectory>target</assembleDirectory>
297 <programs>
298 <program>
299 <mainClass>launch.Main</mainClass>
300 <name>webapp</name>
301 </program>
302 </programs>
303 </configuration>
304 <executions>
305 <execution>
306 <phase>package</phase>
307 <goals>
308 <goal>assemble</goal>
309 </goals>
310 </execution>
311 </executions>
312 </plugin>
313
314 </plugins>
315
316 <pluginManagement>
317 <plugins>
318 <plugin>
319 <groupId>org.eclipse.m2e</groupId>
320 <artifactId>lifecycle-mapping</artifactId>
321 <version>1.0.0</version>
322 <configuration>
323 <lifecycleMappingMetadata>
324 <pluginExecutions>
325 <pluginExecution>
326 <pluginExecutionFilter>
327 <groupId>org.jfrog.buildinfo</groupId>
328 <artifactId>artifactory-maven-plugin</artifactId>
329 <versionRange>[1.0.0,)</versionRange>
330 <goals>
331 <goal>publish</goal>
332 </goals>
333 </pluginExecutionFilter>
334 <action>
335 <ignore />
336 </action>
337 </pluginExecution>
338 </pluginExecutions>
339 </lifecycleMappingMetadata>
340 </configuration>
341 </plugin>
342 </plugins>
343
344 </pluginManagement>
345
346
347 </build>
348</project>
Note: See TracBrowser for help on using the repository browser.