| 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>test.jetty-ee8-start-mojo-multi-module-single-war-it</groupId> |
| 6 |
<artifactId>jetty-multi-module-project</artifactId> |
| 7 |
<version>1.0-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.toolchain</groupId> |
| 19 |
<artifactId>jetty-servlet-api</artifactId> |
| 20 |
<version>@jetty.servlet.api.version@</version> |
| 21 |
<scope>provided</scope> |
| 22 |
</dependency> |
| 23 |
<dependency> |
| 24 |
<groupId>test.jetty-ee8-start-mojo-multi-module-single-war-it</groupId> |
| 25 |
<artifactId>module-impl</artifactId> |
| 26 |
</dependency> |
| 27 |
</dependencies> |
| 28 |
|
| 29 |
<properties> |
| 30 |
<jetty.port.file>${project.build.directory}/jetty-start-mojo.txt</jetty.port.file> |
| 31 |
<jetty.deployMode>EMBED</jetty.deployMode> |
| 32 |
</properties> |
| 33 |
|
| 34 |
<build> |
| 35 |
<plugins> |
| 36 |
<plugin> |
| 37 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 38 |
<artifactId>jetty-ee8-maven-plugin</artifactId> |
| 39 |
<executions> |
| 40 |
<execution> |
| 41 |
<id>start-jetty</id> |
| 42 |
<phase>test-compile</phase> |
| 43 |
<goals> |
| 44 |
<goal>start</goal> |
| 45 |
</goals> |
| 46 |
<configuration> |
| 47 |
<systemProperties> |
| 48 |
<jetty.port.file>${jetty.port.file}</jetty.port.file> |
| 49 |
</systemProperties> |
| 50 |
<jettyXmls> |
| 51 |
<jettyXml>${basedir}/src/config/jetty.xml</jettyXml> |
| 52 |
</jettyXmls> |
| 53 |
</configuration> |
| 54 |
</execution> |
| 55 |
</executions> |
| 56 |
</plugin> |
| 57 |
</plugins> |
| 58 |
</build> |
| 59 |
|
| 60 |
</project> |