| 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.jetty-start-forked-mojo-it</groupId> |
| 7 |
<artifactId>jetty-simple-project</artifactId> |
| 8 |
<version>0.0.1-SNAPSHOT</version> |
| 9 |
</parent> |
| 10 |
|
| 11 |
<artifactId>jetty-simple-webapp</artifactId> |
| 12 |
<packaging>war</packaging> |
| 13 |
|
| 14 |
<name>EE8 :: Simple :: WebApp</name> |
| 15 |
|
| 16 |
<properties> |
| 17 |
<jetty.jvmArgs>@jetty.jvmArgs@</jetty.jvmArgs> |
| 18 |
<jetty.port.file>${project.build.directory}/jetty-start-forked-port.txt</jetty.port.file> |
| 19 |
<jetty.deployMode>FORK</jetty.deployMode> |
| 20 |
</properties> |
| 21 |
|
| 22 |
<dependencies> |
| 23 |
|
| 24 |
<dependency> |
| 25 |
<groupId>org.eclipse.jetty.ee8.its.jetty-start-forked-mojo-it</groupId> |
| 26 |
<artifactId>jetty-simple-base</artifactId> |
| 27 |
</dependency> |
| 28 |
|
| 29 |
<dependency> |
| 30 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 31 |
<artifactId>jetty-ee8-servlet</artifactId> |
| 32 |
<scope>provided</scope> |
| 33 |
</dependency> |
| 34 |
|
| 35 |
<dependency> |
| 36 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 37 |
<artifactId>jetty-ee8-maven-plugin</artifactId> |
| 38 |
<classifier>tests</classifier> |
| 39 |
<type>test-jar</type> |
| 40 |
<scope>test</scope> |
| 41 |
</dependency> |
| 42 |
|
| 43 |
<dependency> |
| 44 |
<groupId>org.junit.jupiter</groupId> |
| 45 |
<artifactId>junit-jupiter-engine</artifactId> |
| 46 |
<scope>test</scope> |
| 47 |
</dependency> |
| 48 |
<dependency> |
| 49 |
<groupId>org.eclipse.jetty</groupId> |
| 50 |
<artifactId>jetty-client</artifactId> |
| 51 |
<scope>test</scope> |
| 52 |
</dependency> |
| 53 |
<dependency> |
| 54 |
<groupId>org.awaitility</groupId> |
| 55 |
<artifactId>awaitility</artifactId> |
| 56 |
<scope>test</scope> |
| 57 |
</dependency> |
| 58 |
</dependencies> |
| 59 |
|
| 60 |
<build> |
| 61 |
|
| 62 |
<pluginManagement> |
| 63 |
<plugins> |
| 64 |
<plugin> |
| 65 |
<groupId>org.apache.maven.plugins</groupId> |
| 66 |
<artifactId>maven-war-plugin</artifactId> |
| 67 |
<configuration> |
| 68 |
<failOnMissingWebXml>false</failOnMissingWebXml> |
| 69 |
</configuration> |
| 70 |
</plugin> |
| 71 |
</plugins> |
| 72 |
</pluginManagement> |
| 73 |
<plugins> |
| 74 |
<plugin> |
| 75 |
<groupId>org.apache.maven.plugins</groupId> |
| 76 |
<artifactId>maven-surefire-plugin</artifactId> |
| 77 |
<configuration> |
| 78 |
<includes> |
| 79 |
<include>IntegrationTest*.java</include> |
| 80 |
</includes> |
| 81 |
<systemPropertyVariables> |
| 82 |
<jetty.port.file>${jetty.port.file}</jetty.port.file> |
| 83 |
<pingServlet>true</pingServlet> |
| 84 |
<helloServlet>true</helloServlet> |
| 85 |
<contentCheck>Counter accessed 1 times.</contentCheck> |
| 86 |
<pathToCheck>/jsp/bean1.jsp</pathToCheck> |
| 87 |
<maven.it.name>${project.groupId}:${project.artifactId}</maven.it.name> |
| 88 |
</systemPropertyVariables> |
| 89 |
<dependenciesToScan> |
| 90 |
<dependency>org.eclipse.jetty.ee8:jetty-ee8-maven-plugin</dependency> |
| 91 |
</dependenciesToScan> |
| 92 |
</configuration> |
| 93 |
</plugin> |
| 94 |
<plugin> |
| 95 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 96 |
<artifactId>jetty-ee8-maven-plugin</artifactId> |
| 97 |
<configuration> |
| 98 |
<stopPort>@jetty.stopPort@</stopPort> |
| 99 |
<stopKey>@jetty.stopKey@</stopKey> |
| 100 |
</configuration> |
| 101 |
<dependencies> |
| 102 |
<dependency> |
| 103 |
<groupId>org.eclipse.jetty</groupId> |
| 104 |
<artifactId>jetty-slf4j-impl</artifactId> |
| 105 |
<version>${jetty.version}</version> |
| 106 |
</dependency> |
| 107 |
</dependencies> |
| 108 |
<executions> |
| 109 |
<execution> |
| 110 |
<id>start-jetty</id> |
| 111 |
<phase>process-test-classes</phase> |
| 112 |
<goals> |
| 113 |
<goal>start</goal> |
| 114 |
</goals> |
| 115 |
<configuration> |
| 116 |
<jettyXmls> |
| 117 |
<jettyXml>${basedir}/src/config/jetty.xml</jettyXml> |
| 118 |
</jettyXmls> |
| 119 |
<jvmArgs>${jetty.jvmArgs}</jvmArgs> |
| 120 |
<jettyProperties> |
| 121 |
<jetty.port.file>${jetty.port.file}</jetty.port.file> |
| 122 |
</jettyProperties> |
| 123 |
</configuration> |
| 124 |
</execution> |
| 125 |
</executions> |
| 126 |
</plugin> |
| 127 |
</plugins> |
| 128 |
</build> |
| 129 |
|
| 130 |
</project> |