summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-02-26 00:58:04 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-02-26 00:58:04 +0000
commit28350bd4e4901c6c16f0a3941b947cbf569c0e5f (patch)
tree4dcee4fc092ad8892ed8e7ac1970d95bdf2457ce /sca-java-2.x/trunk/samples
parentb4b2a2b6e802b48b2af5c597b7f99feabe2f29cb (diff)
Configuring tomcat-maven-plugin to avoid issues with maven enforcer
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916515 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples')
-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>