You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2010/02/26 01:58:04 UTC
svn commit: r916515 -
/tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml
Author: lresende
Date: Fri Feb 26 00:58:04 2010
New Revision: 916515
URL: http://svn.apache.org/viewvc?rev=916515&view=rev
Log:
Configuring tomcat-maven-plugin to avoid issues with maven enforcer
Modified:
tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml
Modified: tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml?rev=916515&r1=916514&r2=916515&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml Fri Feb 26 00:58:04 2010
@@ -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>