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