summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-2.x/trunk/samples/store-webapp/pom.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/store-webapp/pom.xml b/sca-java-2.x/trunk/samples/store-webapp/pom.xml
index abb5da5a06..ea3c6af17f 100644
--- a/sca-java-2.x/trunk/samples/store-webapp/pom.xml
+++ b/sca-java-2.x/trunk/samples/store-webapp/pom.xml
@@ -104,6 +104,20 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <version>1.0-beta-1</version>
+ <configuration>
+ <!-- Key used for configuring access to server in settings.xml-->
+
+ <server>tomcat</server>
+ <!-- context for the webapp, as finalName is not being honored -->
+ <path>/${artifactId}</path>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>