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