| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 |
<modelVersion>4.0.0</modelVersion> |
| 4 |
<parent> |
| 5 |
<groupId>org.eclipse.jetty.ee8.its.jetty-effective-web-xml-it</groupId> |
| 6 |
<artifactId>jetty-effective-web-xml-project</artifactId> |
| 7 |
<version>0.0.1-SNAPSHOT</version> |
| 8 |
</parent> |
| 9 |
<artifactId>webapp-war</artifactId> |
| 10 |
<packaging>war</packaging> |
| 11 |
|
| 12 |
<dependencies> |
| 13 |
<dependency> |
| 14 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 15 |
<artifactId>jetty-ee8-servlet</artifactId> |
| 16 |
</dependency> |
| 17 |
<dependency> |
| 18 |
<groupId>org.eclipse.jetty.ee8.its.jetty-effective-web-xml-it</groupId> |
| 19 |
<artifactId>resources</artifactId> |
| 20 |
</dependency> |
| 21 |
</dependencies> |
| 22 |
|
| 23 |
<properties> |
| 24 |
<jetty.port.file>${project.build.directory}/jetty-effective-web-xml-mojo.txt</jetty.port.file> |
| 25 |
<jetty.deployMode>EMBED</jetty.deployMode> |
| 26 |
</properties> |
| 27 |
|
| 28 |
<build> |
| 29 |
<plugins> |
| 30 |
<plugin> |
| 31 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 32 |
<artifactId>jetty-ee8-maven-plugin</artifactId> |
| 33 |
<executions> |
| 34 |
<execution> |
| 35 |
<id>gen-effective-web-xml</id> |
| 36 |
<phase>test-compile</phase> |
| 37 |
<goals> |
| 38 |
<goal>effective-web-xml</goal> |
| 39 |
</goals> |
| 40 |
<configuration> |
| 41 |
<webApp> |
| 42 |
<war>src/main/webapp</war> |
| 43 |
</webApp> |
| 44 |
<systemProperties> |
| 45 |
<jetty.port.file>${jetty.port.file}</jetty.port.file> |
| 46 |
</systemProperties> |
| 47 |
<jettyXmls> |
| 48 |
<jettyXml>${basedir}/src/config/jetty.xml</jettyXml> |
| 49 |
</jettyXmls> |
| 50 |
</configuration> |
| 51 |
</execution> |
| 52 |
</executions> |
| 53 |
</plugin> |
| 54 |
</plugins> |
| 55 |
</build> |
| 56 |
|
| 57 |
</project> |