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