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