-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpom.xml
executable file
·42 lines (41 loc) · 1.43 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>pwn4jshell</groupId>
<artifactId>pwn4jshell</artifactId>
<packaging>war</packaging>
<version>1.0</version>
<name>pwn4jshell Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
<jetty-version>9.4.8.v20171121</jetty-version>
<javaCompilerVersion>1.8</javaCompilerVersion>
</properties>
<dependencies>
<!-- Servlet -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>pwn4jshell</finalName>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty-version}</version>
<configuration>
<war>${project.build.directory}/${project.build.finalName}.war</war>
<webAppSourceDirectory>${project.basedir}/src/main/webapp</webAppSourceDirectory>
<webApp>
<contextPath>/${project.build.finalName}</contextPath>
</webApp>
<scanIntervalSeconds>5</scanIntervalSeconds>
</configuration>
</plugin>
</plugins>
</build>
</project>