source: pom.xml@ 11

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

All refs to bintray now use https

File size: 9.6 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>runserver</artifactId>
7 <packaging>war</packaging>
8 <version>1.3.1</version>
9 <name>runserver Maven Webapp</name>
10 <url>http://maven.apache.org</url>
11
12
13 <properties>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 <maven.compiler.target>1.8</maven.compiler.target>
16 <maven.compiler.source>1.8</maven.compiler.source>
17 <basedir>.</basedir>
18 <passwd>${env.ARTIFACTORY_PASS}</passwd>
19 <jackson-2-version>2.9.10</jackson-2-version>
20 <tomcat.version>8.0.53</tomcat.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
43 <pluginRepositories>
44 <pluginRepository>
45 <id>jcenter</id>
46 <url>https://jcenter.bintray.com</url>
47 </pluginRepository>
48 </pluginRepositories>
49
50
51 <dependencies>
52 <dependency>
53 <groupId>geniusweb</groupId>
54 <artifactId>profile</artifactId>
55 <version>1.3.1</version>
56 </dependency>
57
58 <dependency>
59 <groupId>geniusweb</groupId>
60 <artifactId>party</artifactId>
61 <version>1.3.1</version>
62 </dependency>
63
64 <dependency>
65 <groupId>geniusweb</groupId>
66 <artifactId>references</artifactId>
67 <version>1.3.1</version>
68 </dependency>
69
70 <dependency>
71 <groupId>geniusweb</groupId>
72 <artifactId>protocol</artifactId>
73 <version>1.3.1</version>
74 </dependency>
75
76 <dependency>
77 <groupId>tudelft.utilities</groupId>
78 <artifactId>repository</artifactId>
79 <version>1.0.1</version>
80 </dependency>
81
82 <dependency>
83 <groupId>tudelft.utilities</groupId>
84 <artifactId>listener</artifactId>
85 <version>1.1.0</version>
86 </dependency>
87
88 <dependency>
89 <groupId>javax.websocket</groupId>
90 <artifactId>javax.websocket-api</artifactId>
91 <version>1.1</version>
92 </dependency>
93
94 <!-- the core, which includes Streaming API, shared low-level abstractions
95 (but NOT data-binding) -->
96 <dependency>
97 <groupId>com.fasterxml.jackson.core</groupId>
98 <artifactId>jackson-core</artifactId>
99 <version>${jackson-2-version}</version>
100 </dependency>
101
102 <!-- Just the annotations; use this dependency if you want to attach annotations
103 to classes without connecting them to the code. -->
104 <dependency>
105 <groupId>com.fasterxml.jackson.core</groupId>
106 <artifactId>jackson-annotations</artifactId>
107 <version>${jackson-2-version}</version>
108 </dependency>
109
110 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
111 <dependency>
112 <groupId>com.fasterxml.jackson.core</groupId>
113 <artifactId>jackson-databind</artifactId>
114 <version>${jackson-2-version}</version>
115 </dependency>
116
117 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
118 <dependency>
119 <groupId>com.fasterxml.jackson.dataformat</groupId>
120 <artifactId>jackson-dataformat-smile</artifactId>
121 <version>${jackson-2-version}</version>
122 </dependency>
123 <!-- JAX-RS provider -->
124 <dependency>
125 <groupId>com.fasterxml.jackson.jaxrs</groupId>
126 <artifactId>jackson-jaxrs-json-provider</artifactId>
127 <version>${jackson-2-version}</version>
128 </dependency>
129 <!-- Support for JAX-B annotations as additional configuration -->
130 <dependency>
131 <groupId>com.fasterxml.jackson.module</groupId>
132 <artifactId>jackson-module-jaxb-annotations</artifactId>
133 <version>${jackson-2-version}</version>
134 </dependency>
135
136
137 <dependency>
138 <groupId>junit</groupId>
139 <artifactId>junit</artifactId>
140 <version>4.12</version>
141 <scope>test</scope>
142 </dependency>
143
144 <dependency>
145 <groupId>javax.servlet</groupId>
146 <artifactId>javax.servlet-api</artifactId>
147 <version>3.1.0</version>
148 <scope>provided</scope>
149 </dependency>
150
151 </dependencies>
152
153 <build>
154 <finalName>runserver</finalName>
155
156
157 <resources>
158 <resource>
159 <directory>src/main/webapp/log</directory>
160 </resource>
161 </resources>
162
163
164 <plugins>
165 <!-- Copy the log dir to have good place for logging -->
166 <plugin>
167 <artifactId>maven-resources-plugin</artifactId>
168 <version>3.1.0</version>
169 <executions>
170 <execution>
171 <id>copy-resources</id>
172 <phase>validate</phase>
173 <goals>
174 <goal>copy-resources</goal>
175 </goals>
176 <configuration>
177 <outputDirectory>${basedir}/target/log</outputDirectory>
178 <resources>
179 <resource>
180 <directory>src/main/webapp/log</directory>
181 </resource>
182 </resources>
183 </configuration>
184 </execution>
185 </executions>
186 </plugin>
187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-enforcer-plugin</artifactId>
190 <version>3.0.0-M2</version>
191 <executions>
192 <execution>
193 <id>enforce</id>
194 <configuration>
195 <rules>
196 <dependencyConvergence />
197 </rules>
198 </configuration>
199 <goals>
200 <goal>enforce</goal>
201 </goals>
202 </execution>
203 </executions>
204 </plugin>
205 <plugin>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-source-plugin</artifactId>
208 <executions>
209 <execution>
210 <id>attach-sources</id>
211 <goals>
212 <goal>jar</goal>
213 </goals>
214 </execution>
215 </executions>
216 </plugin>
217
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-dependency-plugin</artifactId>
221 <!-- leave out version to help Eclipse workaround -->
222 <executions>
223 <execution>
224 <id>resource-dependencies</id>
225 <phase>process-test-resources</phase>
226 <goals>
227 <goal>copy-dependencies</goal>
228 </goals>
229 </execution>
230 </executions>
231 <configuration>
232 <outputDirectory>${project.build.directory}/jars</outputDirectory>
233 <overWriteReleases>false</overWriteReleases>
234 <overWriteSnapshots>true</overWriteSnapshots>
235 </configuration>
236 </plugin>
237
238 <plugin>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-compiler-plugin</artifactId>
241 <version>3.8.0</version>
242 <configuration>
243 <source>1.8</source>
244 <target>1.8</target>
245 </configuration>
246 </plugin>
247
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-javadoc-plugin</artifactId>
251 <version>2.10.1</version>
252 <executions>
253 <execution>
254 <id>attach-javadocs</id>
255 <goals>
256 <goal>jar</goal>
257 </goals>
258 <configuration>
259 <additionalparam>${javadoc.opts}</additionalparam>
260 <additionalparam>-Xdoclint:none</additionalparam>
261 </configuration>
262 </execution>
263 </executions>
264 </plugin>
265
266 <plugin>
267 <groupId>org.jfrog.buildinfo</groupId>
268 <artifactId>artifactory-maven-plugin</artifactId>
269 <version>2.6.1</version>
270 <executions>
271 <execution>
272 <id>build-info</id>
273 <goals>
274 <goal>publish</goal>
275 </goals>
276 <configuration>
277 <publisher>
278 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
279 <repoKey>libs-release</repoKey>
280 <username>wouter</username>
281 <password>${passwd}</password>
282 </publisher>
283 </configuration>
284 </execution>
285 </executions>
286 </plugin>
287
288 <plugin>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-assembly-plugin</artifactId>
291 <version>2.4.1</version>
292 <configuration>
293 <!-- get all project dependencies -->
294 <descriptorRefs>
295 <descriptorRef>jar-with-dependencies</descriptorRef>
296 </descriptorRefs>
297 <archive>
298 <manifest>
299 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
300 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
301 </manifest>
302 </archive>
303 </configuration>
304 <executions>
305 <execution>
306 <id>make-assembly</id>
307 <!-- bind to the packaging phase -->
308 <phase>package</phase>
309 <goals>
310 <goal>single</goal>
311 </goals>
312 </execution>
313 </executions>
314 </plugin>
315
316
317 <!-- Special plugin for the tomcat embedded stuff? -->
318 <plugin>
319 <groupId>org.codehaus.mojo</groupId>
320 <artifactId>appassembler-maven-plugin</artifactId>
321 <version>2.0.0</version>
322 <configuration>
323 <assembleDirectory>target</assembleDirectory>
324 <programs>
325 <program>
326 <mainClass>launch.Main</mainClass>
327 <name>webapp</name>
328 </program>
329 </programs>
330 </configuration>
331 <executions>
332 <execution>
333 <phase>package</phase>
334 <goals>
335 <goal>assemble</goal>
336 </goals>
337 </execution>
338 </executions>
339 </plugin>
340
341 </plugins>
342
343 <pluginManagement>
344 <plugins>
345 <plugin>
346 <groupId>org.eclipse.m2e</groupId>
347 <artifactId>lifecycle-mapping</artifactId>
348 <version>1.0.0</version>
349 <configuration>
350 <lifecycleMappingMetadata>
351 <pluginExecutions>
352 <pluginExecution>
353 <pluginExecutionFilter>
354 <groupId>org.jfrog.buildinfo</groupId>
355 <artifactId>artifactory-maven-plugin</artifactId>
356 <versionRange>[1.0.0,)</versionRange>
357 <goals>
358 <goal>publish</goal>
359 </goals>
360 </pluginExecutionFilter>
361 <action>
362 <ignore />
363 </action>
364 </pluginExecution>
365 </pluginExecutions>
366 </lifecycleMappingMetadata>
367 </configuration>
368 </plugin>
369 </plugins>
370 </pluginManagement>
371 </build>
372</project>
Note: See TracBrowser for help on using the repository browser.