Debian Codegraph @

jetty-maven-plugin/src/it/jetty-run-war-mojo-it/jetty-simple-webapp/pom.xml

raw
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.its.jetty-run-war-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>Jetty :: Simple :: Webapp</name>
15
16 <properties>
17 <jetty.port.file>${project.build.directory}/jetty-run-war-port.txt</jetty.port.file>
18 </properties>
19 <dependencies>
20 <dependency>
21 <groupId>org.eclipse.jetty.its.jetty-run-war-mojo-it</groupId>
22 <artifactId>jetty-simple-base</artifactId>
23 </dependency>
24 <dependency>
25 <groupId>org.eclipse.jetty</groupId>
26 <artifactId>jetty-servlet</artifactId>
27 <scope>provided</scope>
28 </dependency>
29 <dependency>
30 <groupId>org.eclipse.jetty</groupId>
31 <artifactId>jetty-maven-plugin</artifactId>
32 <classifier>tests</classifier>
33 <type>test-jar</type>
34 <scope>test</scope>
35 </dependency>
36 <dependency>
37 <groupId>org.junit.jupiter</groupId>
38 <artifactId>junit-jupiter-engine</artifactId>
39 <scope>test</scope>
40 </dependency>
41 </dependencies>
42
43 <build>
44
45 <pluginManagement>
46 <plugins>
47 <plugin>
48 <groupId>org.apache.maven.plugins</groupId>
49 <artifactId>maven-war-plugin</artifactId>
50 <configuration>
51 <failOnMissingWebXml>false</failOnMissingWebXml>
52 </configuration>
53 </plugin>
54 </plugins>
55 </pluginManagement>
56 <plugins>
57 <plugin>
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-surefire-plugin</artifactId>
60 <configuration>
61 <skip>true</skip>
62 </configuration>
63 </plugin>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-failsafe-plugin</artifactId>
67 <configuration>
68 <systemPropertyVariables>
69 <jetty.port.file>${jetty.port.file}</jetty.port.file>
70 <pingServlet>true</pingServlet>
71 <helloServlet>true</helloServlet>
72 <maven.it.name>${project.groupId}:${project.artifactId}</maven.it.name>
73 </systemPropertyVariables>
74 <dependenciesToScan>
75 <dependency>org.eclipse.jetty:jetty-maven-plugin</dependency>
76 </dependenciesToScan>
77 <includes>
78 <include>**/*TestGetContent*</include>
79 </includes>
80 </configuration>
81 <executions>
82 <execution>
83 <id>integration-test</id>
84 <goals>
85 <goal>integration-test</goal>
86 </goals>
87 </execution>
88 <execution>
89 <id>verify</id>
90 <goals>
91 <goal>verify</goal>
92 </goals>
93 </execution>
94 </executions>
95 </plugin>
96 <plugin>
97 <groupId>org.eclipse.jetty</groupId>
98 <artifactId>jetty-maven-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>start-jetty</id>
102 <phase>test-compile</phase>
103 <goals>
104 <goal>run-war</goal>
105 </goals>
106 <configuration>
107 <nonBlocking>true</nonBlocking>
108 <systemProperties>
109 <systemProperty>
110 <name>jetty.port.file</name>
111 <value>${jetty.port.file}</value>
112 </systemProperty>
113 </systemProperties>
114 <jettyXml>${basedir}/src/config/jetty.xml</jettyXml>
115 </configuration>
116 </execution>
117 </executions>
118 </plugin>
119 </plugins>
120 </build>
121
122 </project>