| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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 |
|
| 5 |
<parent> |
| 6 |
<groupId>org.eclipse.jetty.ee8.its</groupId> |
| 7 |
<artifactId>it-parent-pom</artifactId> |
| 8 |
<version>0.0.1-SNAPSHOT</version> |
| 9 |
</parent> |
| 10 |
|
| 11 |
<groupId>org.eclipse.jetty.ee8.its.jetty-cdi-start-forked-mojo-it</groupId> |
| 12 |
<artifactId>jetty-weld-minimal</artifactId> |
| 13 |
<version>1.0-SNAPSHOT</version> |
| 14 |
<packaging>war</packaging> |
| 15 |
|
| 16 |
<properties> |
| 17 |
<jetty.port.file>${project.build.directory}/jetty-cdi-start-forked-port.txt</jetty.port.file> |
| 18 |
<jetty.deployMode>FORK</jetty.deployMode> |
| 19 |
</properties> |
| 20 |
|
| 21 |
<dependencies> |
| 22 |
<dependency> |
| 23 |
<groupId>org.eclipse.jetty.toolchain</groupId> |
| 24 |
<artifactId>jetty-servlet-api</artifactId> |
| 25 |
<scope>provided</scope> |
| 26 |
</dependency> |
| 27 |
<dependency> |
| 28 |
<groupId>org.junit.jupiter</groupId> |
| 29 |
<artifactId>junit-jupiter-engine</artifactId> |
| 30 |
<scope>test</scope> |
| 31 |
</dependency> |
| 32 |
<dependency> |
| 33 |
<groupId>org.eclipse.jetty</groupId> |
| 34 |
<artifactId>jetty-client</artifactId> |
| 35 |
<scope>test</scope> |
| 36 |
</dependency> |
| 37 |
<dependency> |
| 38 |
<groupId>org.awaitility</groupId> |
| 39 |
<artifactId>awaitility</artifactId> |
| 40 |
<scope>test</scope> |
| 41 |
</dependency> |
| 42 |
<dependency> |
| 43 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 44 |
<artifactId>jetty-ee8-maven-plugin</artifactId> |
| 45 |
<classifier>tests</classifier> |
| 46 |
<type>test-jar</type> |
| 47 |
<scope>test</scope> |
| 48 |
</dependency> |
| 49 |
</dependencies> |
| 50 |
|
| 51 |
<build> |
| 52 |
<plugins> |
| 53 |
<plugin> |
| 54 |
<groupId>org.apache.maven.plugins</groupId> |
| 55 |
<artifactId>maven-surefire-plugin</artifactId> |
| 56 |
<configuration> |
| 57 |
<includes> |
| 58 |
<include>IntegrationTest*.java</include> |
| 59 |
</includes> |
| 60 |
<systemPropertyVariables> |
| 61 |
<jetty.port.file>${jetty.port.file}</jetty.port.file> |
| 62 |
<helloServlet>true</helloServlet> |
| 63 |
<maven.it.name>${project.groupId}:${project.artifactId}</maven.it.name> |
| 64 |
</systemPropertyVariables> |
| 65 |
<dependenciesToScan> |
| 66 |
<dependency>org.eclipse.jetty.ee8:jetty-ee8-maven-plugin</dependency> |
| 67 |
</dependenciesToScan> |
| 68 |
</configuration> |
| 69 |
</plugin> |
| 70 |
<plugin> |
| 71 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 72 |
<artifactId>jetty-ee8-maven-plugin</artifactId> |
| 73 |
<dependencies> |
| 74 |
<dependency> |
| 75 |
<groupId>org.eclipse.jetty</groupId> |
| 76 |
<artifactId>jetty-slf4j-impl</artifactId> |
| 77 |
<version>${jetty.version}</version> |
| 78 |
</dependency> |
| 79 |
</dependencies> |
| 80 |
<executions> |
| 81 |
<execution> |
| 82 |
<id>start-jetty</id> |
| 83 |
<phase>process-test-classes</phase> |
| 84 |
<goals> |
| 85 |
<goal>start</goal> |
| 86 |
</goals> |
| 87 |
<configuration> |
| 88 |
<!-- Set up configuration for Weld. --> |
| 89 |
<contextXml>${basedir}/src/main/jetty/jetty-context.xml</contextXml> |
| 90 |
<jettyXmls> |
| 91 |
<jettyXml>${basedir}/src/main/jetty/jetty.xml</jettyXml> |
| 92 |
</jettyXmls> |
| 93 |
<stopPort>@jetty.stopPort@</stopPort> |
| 94 |
<stopKey>@jetty.stopKey@</stopKey> |
| 95 |
<jvmArgs>${jetty.jvmArgs}</jvmArgs> |
| 96 |
<jettyProperties> |
| 97 |
<jetty.port.file>${jetty.port.file}</jetty.port.file> |
| 98 |
</jettyProperties> |
| 99 |
</configuration> |
| 100 |
</execution> |
| 101 |
</executions> |
| 102 |
</plugin> |
| 103 |
</plugins> |
| 104 |
</build> |
| 105 |
|
| 106 |
</project> |