-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
93 lines (87 loc) · 3.03 KB
/
pom.xml
File metadata and controls
93 lines (87 loc) · 3.03 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<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>com.rupp.servlet</groupId>
<artifactId>servlet</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>Servlet Maven Webapp</name>
<url>http://maven.apache.org</url>
<developers>
<developer>
<id>Sophea</id>
<name>Sophea MAK</name>
<email>sopheamak@gmail.com</email>
<url>http://www.linkedin.com/in/sopheamak</url>
</developer>
</developers>
<!-- Specify hard-coded project properties here -->
<properties>
<application.name>servlet</application.name>
<application.version>${project.version}</application.version>
<logging.level>DEBUG</logging.level>
</properties>
<build>
<finalName>servlet</finalName>
<resources>
<!-- base set of resources -->
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
<!-- filter some files -->
<resource>
<directory>${project.basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
</plugin>
<!-- tomcat7 server-->
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<!-- <tomcatLoggingFile>tomcat_server.log</tomcatLoggingFile>-->
<!-- <path>/</path> -->
</configuration>
</plugin>
<!-- jetty-->
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.19.v20160908</version>
<configuration>
<scanIntervalSeconds>3</scanIntervalSeconds>
<webApp>
<contextPath>/servlet</contextPath>
</webApp>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- <dependency> -->
<!-- <groupId>javax.servlet</groupId> -->
<!-- <artifactId>servlet-api</artifactId> -->
<!-- <version>2.5</version> -->
<!-- <scope>provided</scope> -->
<!-- </dependency> -->
<!-- version 3.0.1 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<!-- upload file -->
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</project>