Adds jetty plugin to simplify debugging
git-svn-id: https://svn.apache.org/repos/asf/struts/sandbox/trunk@1550539 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/struts2examples/themes/pom.xml b/struts2examples/themes/pom.xml
index c61fe38..87dd43c 100644
--- a/struts2examples/themes/pom.xml
+++ b/struts2examples/themes/pom.xml
@@ -1,23 +1,42 @@
<?xml version="1.0"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>struts.apache.org</groupId>
- <artifactId>struts2examples</artifactId>
- <version>1.0.0</version>
- </parent>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>struts.apache.org</groupId>
+ <artifactId>struts2examples</artifactId>
+ <version>1.0.0</version>
+ </parent>
- <artifactId>themes</artifactId>
+ <artifactId>themes</artifactId>
- <name>Struts 2 Themes</name>
+ <name>Struts 2 Themes</name>
- <description>Struts 2 themes example application for the
- Struts 2 getting started tutorials</description>
- <packaging>war</packaging>
- <build>
- <finalName>themes</finalName>
- </build>
+ <description>Struts 2 themes example application for the
+ Struts 2 getting started tutorials
+ </description>
+ <packaging>war</packaging>
+
+ <build>
+ <finalName>themes</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-maven-plugin</artifactId>
+ <version>8.1.7.v20120910</version>
+ <configuration>
+ <stopKey>CTRL+C</stopKey>
+ <stopPort>8999</stopPort>
+ <scanIntervalSeconds>10</scanIntervalSeconds>
+ <scanTargets>
+ <scanTarget>src/main/webapp/WEB-INF/web.xml</scanTarget>
+ </scanTargets>
+ </configuration>
+ </plugin>
+ </plugins>
+
+ </build>
</project>