Debian Codegraph @

jetty-maven-plugin/src/it/jetty-run-mojo-jsp/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</groupId>
7 <artifactId>it-parent-pom</artifactId>
8 <version>0.0.1-SNAPSHOT</version>
9 </parent>
10
11 <artifactId>jetty-run-mojo-jsp</artifactId>
12 <packaging>war</packaging>
13
14 <name>Jetty :: Simple :: Webapp</name>
15
16 <properties>
17 <jetty.port.file>${project.build.directory}/jetty-run-mojo-jsp.txt</jetty.port.file>
18 </properties>
19 <dependencies>
20
21 <dependency>
22 <groupId>org.slf4j</groupId>
23 <artifactId>slf4j-simple</artifactId>
24 </dependency>
25
26 <dependency>
27 <groupId>org.eclipse.jetty</groupId>
28 <artifactId>jetty-servlet</artifactId>
29 <scope>provided</scope>
30 </dependency>
31
32 <dependency>
33 <groupId>org.eclipse.jetty</groupId>
34 <artifactId>jetty-maven-plugin</artifactId>
35 <classifier>tests</classifier>
36 <type>test-jar</type>
37 <scope>test</scope>
38 </dependency>
39
40 <dependency>
41 <groupId>org.junit.jupiter</groupId>
42 <artifactId>junit-jupiter-engine</artifactId>
43 <scope>test</scope>
44 </dependency>
45
46 </dependencies>
47
48 <build>
49
50 <pluginManagement>
51 <plugins>
52 <plugin>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-war-plugin</artifactId>
55 <configuration>
56 <failOnMissingWebXml>false</failOnMissingWebXml>
57 </configuration>
58 </plugin>
59 </plugins>
60 </pluginManagement>
61 <plugins>
62 <plugin>
63 <groupId>org.apache.maven.plugins</groupId>
64 <artifactId>maven-surefire-plugin</artifactId>
65 <configuration>
66 <systemPropertyVariables>
67 <jetty.port.file>${jetty.port.file}</jetty.port.file>
68 <contentCheck>Counter accessed 1 times.</contentCheck>
69 <pathToCheck>/jsp/bean1.jsp</pathToCheck>
70 <maven.it.name>${project.groupId}:${project.artifactId}</maven.it.name>
71 </systemPropertyVariables>
72 <dependenciesToScan>
73 <dependency>org.eclipse.jetty:jetty-maven-plugin</dependency>
74 </dependenciesToScan>
75 </configuration>
76 </plugin>
77 <plugin>
78 <groupId>org.eclipse.jetty</groupId>
79 <artifactId>jetty-maven-plugin</artifactId>
80 <executions>
81 <execution>
82 <id>start-jetty</id>
83 <phase>test-compile</phase>
84 <goals>
85 <goal>start</goal>
86 </goals>
87 <configuration>
88 <systemProperties>
89 <systemProperty>
90 <name>jetty.port.file</name>
91 <value>${jetty.port.file}</value>
92 </systemProperty>
93 </systemProperties>
94 <nonBlocking>true</nonBlocking>
95 <jettyXml>${basedir}/src/config/jetty.xml</jettyXml>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 </plugins>
101 </build>
102
103 </project>