Debian Codegraph @

jetty-maven-plugin/src/it/jetty-run-forked-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-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>Jetty :: Simple :: Webapp</name>
15
16 <properties>
17 <jetty.jvmArgs>@jetty.jvmArgs@</jetty.jvmArgs>
18 <jetty.port.file>${project.build.directory}/jetty-run-forked-port.txt</jetty.port.file>
19 </properties>
20
21 <dependencies>
22
23 <dependency>
24 <groupId>org.eclipse.jetty.its.jetty-run-forked-mojo-it</groupId>
25 <artifactId>jetty-simple-base</artifactId>
26 </dependency>
27
28 <dependency>
29 <groupId>org.eclipse.jetty</groupId>
30 <artifactId>jetty-servlet</artifactId>
31 <scope>provided</scope>
32 </dependency>
33
34 <dependency>
35 <groupId>org.eclipse.jetty</groupId>
36 <artifactId>jetty-maven-plugin</artifactId>
37 <classifier>tests</classifier>
38 <type>test-jar</type>
39 <scope>test</scope>
40 </dependency>
41
42 <dependency>
43 <groupId>org.junit.jupiter</groupId>
44 <artifactId>junit-jupiter-engine</artifactId>
45 <scope>test</scope>
46 </dependency>
47
48 </dependencies>
49
50 <build>
51
52 <pluginManagement>
53 <plugins>
54 <plugin>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-war-plugin</artifactId>
57 <configuration>
58 <failOnMissingWebXml>false</failOnMissingWebXml>
59 </configuration>
60 </plugin>
61 </plugins>
62 </pluginManagement>
63 <plugins>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-surefire-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 </configuration>
78 </plugin>
79 <plugin>
80 <groupId>org.eclipse.jetty</groupId>
81 <artifactId>jetty-maven-plugin</artifactId>
82 <configuration>
83 <stopPort>@jetty.stopPort@</stopPort>
84 <stopKey>@jetty.stopKey@</stopKey>
85 </configuration>
86 <executions>
87 <execution>
88 <id>start-jetty</id>
89 <phase>test-compile</phase>
90 <goals>
91 <goal>run-forked</goal>
92 </goals>
93 <configuration>
94 <nonBlocking>true</nonBlocking>
95 <waitForChild>false</waitForChild>
96 <jettyXml>${basedir}/src/config/jetty.xml</jettyXml>
97 <jvmArgs>${jetty.jvmArgs}</jvmArgs>
98 <jettyProperties>
99 <jettyProperty>jetty.port.file=${jetty.port.file}</jettyProperty>
100 </jettyProperties>
101 </configuration>
102 </execution>
103 <!--
104 <execution>
105 <id>stop-jetty</id>
106 <phase>test</phase>
107 <goals>
108 <goal>stop</goal>
109 </goals>
110 </execution>
111 -->
112 </executions>
113 </plugin>
114 </plugins>
115 </build>
116
117 </project>