source: accountserver/pom.xml

Last change on this file was 124, checked in by wouter, 4 years ago

#64 fixed version numbers in the poms

File size: 6.4 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>tudelft.utilities</groupId>
6 <artifactId>accountserver</artifactId>
7 <packaging>war</packaging>
8 <version>1.0.2</version>
9 <name>accountserver Maven Webapp</name>
10 <url>http://maven.apache.org</url>
11
12
13 <properties>
14 <maven.compiler.target>1.8</maven.compiler.target>
15 <maven.compiler.source>1.8</maven.compiler.source>
16 <jackson.version>2.10.0</jackson.version>
17 <passwd>${env.ARTIFACTORY_PASS}</passwd>
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <tomcat.version>8.5.20</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>central</id>
44 <url>https://repo1.maven.org/</url>
45 </pluginRepository>
46 <pluginRepository>
47 <id>jfrog-plugins-release</id>
48 <name>plugins-release</name>
49 <url>https://oss.jfrog.org/artifactory/plugins-release</url>
50 </pluginRepository>
51 </pluginRepositories>
52
53 <dependencies>
54 <dependency>
55 <groupId>tudelft.utilities</groupId>
56 <artifactId>accountmanager</artifactId>
57 <version>1.0.2</version>
58 </dependency>
59 <dependency>
60 <groupId>com.fasterxml.jackson.core</groupId>
61 <artifactId>jackson-databind</artifactId>
62 <version>${jackson.version}</version>
63 </dependency>
64 <!-- servlet api -->
65 <dependency>
66 <groupId>javax.servlet</groupId>
67 <artifactId>javax.servlet-api</artifactId>
68 <version>3.1.0</version>
69 <scope>provided</scope>
70 </dependency>
71
72
73 <!-- embedded-tomcat for testing the server -->
74 <dependency>
75 <groupId>org.apache.tomcat.embed</groupId>
76 <artifactId>tomcat-embed-core</artifactId>
77 <version>${tomcat.version}</version>
78 <scope>test</scope>
79 </dependency>
80 <dependency>
81 <groupId>org.apache.tomcat.embed</groupId>
82 <artifactId>tomcat-embed-jasper</artifactId>
83 <version>${tomcat.version}</version>
84 <scope>test</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.tomcat</groupId>
88 <artifactId>tomcat-jasper</artifactId>
89 <version>${tomcat.version}</version>
90 <scope>test</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.apache.tomcat</groupId>
94 <artifactId>tomcat-jasper-el</artifactId>
95 <version>${tomcat.version}</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.tomcat</groupId>
100 <artifactId>tomcat-jsp-api</artifactId>
101 <version>${tomcat.version}</version>
102 <scope>test</scope>
103 </dependency>
104 <dependency>
105 <groupId>com.neovisionaries</groupId>
106 <artifactId>nv-websocket-client</artifactId>
107 <version>2.6</version>
108 <scope>test</scope>
109 </dependency>
110
111 <dependency>
112 <groupId>org.apache.tomcat.embed</groupId>
113 <artifactId>tomcat-embed-core</artifactId>
114 <version>${tomcat.version}</version>
115 <scope>test</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.apache.tomcat</groupId>
119 <artifactId>tomcat-websocket</artifactId>
120 <version>${tomcat.version}</version>
121 <scope>test</scope>
122 </dependency>
123
124 <!-- Test scope only -->
125 <dependency>
126 <groupId>junit</groupId>
127 <artifactId>junit</artifactId>
128 <version>4.13</version>
129 <scope>test</scope>
130 </dependency>
131 </dependencies>
132 <build>
133 <finalName>accountserver</finalName>
134 <plugins>
135
136 <plugin>
137 <artifactId>maven-war-plugin</artifactId>
138 <version>3.2.3</version>
139 <configuration>
140 <attachClasses>true</attachClasses>
141 </configuration>
142 </plugin>
143
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-enforcer-plugin</artifactId>
147 <version>3.0.0-M2</version>
148 <executions>
149 <execution>
150 <id>enforce</id>
151 <configuration>
152 <rules>
153 <dependencyConvergence />
154 </rules>
155 </configuration>
156 <goals>
157 <goal>enforce</goal>
158 </goals>
159 </execution>
160 </executions>
161 </plugin>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-source-plugin</artifactId>
165 <executions>
166 <execution>
167 <id>attach-sources</id>
168 <goals>
169 <goal>jar</goal>
170 </goals>
171 </execution>
172 </executions>
173 </plugin>
174
175
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-javadoc-plugin</artifactId>
179 <version>2.10.1</version>
180 <executions>
181 <execution>
182 <id>attach-javadocs</id>
183 <goals>
184 <goal>jar</goal>
185 </goals>
186 <configuration>
187 <additionalparam>${javadoc.opts}</additionalparam>
188 <additionalparam>-Xdoclint:none</additionalparam>
189 </configuration>
190 </execution>
191 </executions>
192 </plugin>
193
194
195
196 <plugin>
197 <groupId>org.jfrog.buildinfo</groupId>
198 <artifactId>artifactory-maven-plugin</artifactId>
199 <version>2.6.1</version>
200 <executions>
201 <execution>
202 <id>build-info</id>
203 <goals>
204 <goal>publish</goal>
205 </goals>
206 <configuration>
207 <publisher>
208 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
209 <repoKey>libs-release</repoKey>
210 <username>wouter</username>
211 <password>${passwd}</password>
212 </publisher>
213 </configuration>
214 </execution>
215 </executions>
216 </plugin>
217 </plugins>
218
219
220 <pluginManagement>
221 <plugins>
222 <plugin>
223 <groupId>org.eclipse.m2e</groupId>
224 <artifactId>lifecycle-mapping</artifactId>
225 <version>1.0.0</version>
226 <configuration>
227 <lifecycleMappingMetadata>
228 <pluginExecutions>
229 <pluginExecution>
230 <pluginExecutionFilter>
231 <groupId>org.jfrog.buildinfo</groupId>
232 <artifactId>artifactory-maven-plugin</artifactId>
233 <versionRange>[1.0.0,)</versionRange>
234 <goals>
235 <goal>publish</goal>
236 </goals>
237 </pluginExecutionFilter>
238 <action>
239 <ignore />
240 </action>
241 </pluginExecution>
242 </pluginExecutions>
243 </lifecycleMappingMetadata>
244 </configuration>
245 </plugin>
246 </plugins>
247
248 </pluginManagement>
249
250
251 </build>
252</project>
Note: See TracBrowser for help on using the repository browser.