Debian Codegraph @

jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/pom.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <parent>
6 <artifactId>jetty-issue</artifactId>
7 <groupId>org.mehdi</groupId>
8 <version>1.0-SNAPSHOT</version>
9 </parent>
10 <modelVersion>4.0.0</modelVersion>
11
12 <artifactId>MyWebApp</artifactId>
13 <packaging>jar</packaging>
14
15 <properties>
16 <jetty.port.file>${project.build.directory}/jetty-run-mojo.txt</jetty.port.file>
17 </properties>
18
19 <dependencies>
20 <dependency>
21 <groupId>javax.servlet</groupId>
22 <artifactId>javax.servlet-api</artifactId>
23 <scope>provided</scope>
24 </dependency>
25 <dependency>
26 <groupId>org.mehdi</groupId>
27 <artifactId>MyLibrary</artifactId>
28 </dependency>
29
30 <dependency>
31 <groupId>org.eclipse.jetty</groupId>
32 <artifactId>jetty-client</artifactId>
33 <scope>test</scope>
34 </dependency>
35 <dependency>
36 <groupId>org.apache.commons</groupId>
37 <artifactId>commons-lang3</artifactId>
38 <scope>test</scope>
39 </dependency>
40 <dependency>
41 <groupId>org.eclipse.jetty</groupId>
42 <artifactId>jetty-maven-plugin</artifactId>
43 <classifier>tests</classifier>
44 <type>test-jar</type>
45 <scope>test</scope>
46 <exclusions>
47 <exclusion>
48 <groupId>*</groupId>
49 <artifactId>*</artifactId>
50 </exclusion>
51 </exclusions>
52 </dependency>
53 <dependency>
54 <groupId>org.junit.jupiter</groupId>
55 <artifactId>junit-jupiter-engine</artifactId>
56 <scope>test</scope>
57 </dependency>
58
59 </dependencies>
60
61 <build>
62
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 <context.path>/setbycontextxml</context.path>
71 <pingServlet>false</pingServlet>
72 <helloServlet>false</helloServlet>
73 <helloTestServlet>false</helloTestServlet>
74 <maven.it.name>${project.groupId}:${project.artifactId}</maven.it.name>
75 </systemPropertyVariables>
76 <dependenciesToScan>
77 <dependency>org.eclipse.jetty:jetty-maven-plugin</dependency>
78 </dependenciesToScan>
79 </configuration>
80 </plugin>
81 <plugin>
82 <groupId>org.eclipse.jetty</groupId>
83 <artifactId>jetty-maven-plugin</artifactId>
84 <executions>
85 <execution>
86 <id>start-jetty</id>
87 <phase>test-compile</phase>
88 <goals>
89 <goal>start</goal>
90 </goals>
91 <configuration>
92 <systemProperties>
93 <systemProperty>
94 <name>jetty.port.file</name>
95 <value>${jetty.port.file}</value>
96 </systemProperty>
97 </systemProperties>
98 <nonBlocking>true</nonBlocking>
99 <jettyXml>${basedir}/src/config/jetty.xml</jettyXml>
100 <contextXml>${basedir}/src/config/context.xml</contextXml>
101 <useTestScope>true</useTestScope>
102 <supportedPackagings>
103 <supportedPackaging>jar</supportedPackaging>
104 </supportedPackagings>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
109 </plugins>
110
111 </build>
112 </project>