source: pom.xml@ 2

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

Initial Release

File size: 8.9 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.0.0</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.6</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>http://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.0.0</version>
56 </dependency>
57
58 <dependency>
59 <groupId>geniusweb</groupId>
60 <artifactId>party</artifactId>
61 <version>1.0.0</version>
62 </dependency>
63
64 <dependency>
65 <groupId>geniusweb</groupId>
66 <artifactId>references</artifactId>
67 <version>1.0.0</version>
68 </dependency>
69
70 <dependency>
71 <groupId>geniusweb</groupId>
72 <artifactId>protocol</artifactId>
73 <version>1.0.0</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.0.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>3.8.1</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
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-dependency-plugin</artifactId>
191 <version>3.1.1</version>
192 <executions>
193 <execution>
194 <id>resource-dependencies</id>
195 <phase>process-test-resources</phase>
196 <goals>
197 <goal>copy-dependencies</goal>
198 </goals>
199 </execution>
200 </executions>
201 <configuration>
202 <outputDirectory>${project.build.directory}/jars</outputDirectory>
203 <overWriteReleases>false</overWriteReleases>
204 <overWriteSnapshots>true</overWriteSnapshots>
205 </configuration>
206 </plugin>
207
208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-compiler-plugin</artifactId>
211 <version>3.8.0</version>
212 <configuration>
213 <source>1.8</source>
214 <target>1.8</target>
215 </configuration>
216 </plugin>
217
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-javadoc-plugin</artifactId>
221 <version>2.10.1</version>
222 <executions>
223 <execution>
224 <id>attach-javadocs</id>
225 <goals>
226 <goal>jar</goal>
227 </goals>
228 <configuration>
229 <additionalparam>${javadoc.opts}</additionalparam>
230 <additionalparam>-Xdoclint:none</additionalparam>
231 </configuration>
232 </execution>
233 </executions>
234 </plugin>
235
236 <plugin>
237 <groupId>org.jfrog.buildinfo</groupId>
238 <artifactId>artifactory-maven-plugin</artifactId>
239 <version>2.6.1</version>
240 <executions>
241 <execution>
242 <id>build-info</id>
243 <goals>
244 <goal>publish</goal>
245 </goals>
246 <configuration>
247 <publisher>
248 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
249 <repoKey>libs-release</repoKey>
250 <username>wouter</username>
251 <password>${passwd}</password>
252 </publisher>
253 </configuration>
254 </execution>
255 </executions>
256 </plugin>
257
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-assembly-plugin</artifactId>
261 <version>2.4.1</version>
262 <configuration>
263 <!-- get all project dependencies -->
264 <descriptorRefs>
265 <descriptorRef>jar-with-dependencies</descriptorRef>
266 </descriptorRefs>
267 <archive>
268 <manifest>
269 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
270 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
271 </manifest>
272 </archive>
273 </configuration>
274 <executions>
275 <execution>
276 <id>make-assembly</id>
277 <!-- bind to the packaging phase -->
278 <phase>package</phase>
279 <goals>
280 <goal>single</goal>
281 </goals>
282 </execution>
283 </executions>
284 </plugin>
285
286
287 <!-- Special plugin for the tomcat embedded stuff? -->
288 <plugin>
289 <groupId>org.codehaus.mojo</groupId>
290 <artifactId>appassembler-maven-plugin</artifactId>
291 <version>2.0.0</version>
292 <configuration>
293 <assembleDirectory>target</assembleDirectory>
294 <programs>
295 <program>
296 <mainClass>launch.Main</mainClass>
297 <name>webapp</name>
298 </program>
299 </programs>
300 </configuration>
301 <executions>
302 <execution>
303 <phase>package</phase>
304 <goals>
305 <goal>assemble</goal>
306 </goals>
307 </execution>
308 </executions>
309 </plugin>
310
311 </plugins>
312
313 <pluginManagement>
314 <plugins>
315 <plugin>
316 <groupId>org.eclipse.m2e</groupId>
317 <artifactId>lifecycle-mapping</artifactId>
318 <version>1.0.0</version>
319 <configuration>
320 <lifecycleMappingMetadata>
321 <pluginExecutions>
322 <pluginExecution>
323 <pluginExecutionFilter>
324 <groupId>org.jfrog.buildinfo</groupId>
325 <artifactId>artifactory-maven-plugin</artifactId>
326 <versionRange>[1.0.0,)</versionRange>
327 <goals>
328 <goal>publish</goal>
329 </goals>
330 </pluginExecutionFilter>
331 <action>
332 <ignore />
333 </action>
334 </pluginExecution>
335 </pluginExecutions>
336 </lifecycleMappingMetadata>
337 </configuration>
338 </plugin>
339 </plugins>
340 </pluginManagement>
341 </build>
342</project>
Note: See TracBrowser for help on using the repository browser.