source: accountserver/pom.xml@ 94

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

#41 Changed getUser call to take Session as argument so that we can use it from websocket (with workaround)

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