source: accountserver/pom.xml@ 81

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

#31 added junit test

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