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