You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ws...@apache.org on 2006/08/22 07:07:07 UTC
svn commit: r433522 - /struts/sandbox/trunk/tiles/tiles-test/pom.xml
Author: wsmoak
Date: Mon Aug 21 22:07:07 2006
New Revision: 433522
URL: http://svn.apache.org/viewvc?rev=433522&view=rev
Log:
Add Cargo plugin configuration to start Tomcat and deploy the tiles-test webapp.
Usage: mvn package cargo:start -Dcargo.tomcat5x.home=/path/to/tomcat5
Modified:
struts/sandbox/trunk/tiles/tiles-test/pom.xml
Modified: struts/sandbox/trunk/tiles/tiles-test/pom.xml
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-test/pom.xml?rev=433522&r1=433521&r2=433522&view=diff
==============================================================================
--- struts/sandbox/trunk/tiles/tiles-test/pom.xml (original)
+++ struts/sandbox/trunk/tiles/tiles-test/pom.xml Mon Aug 21 22:07:07 2006
@@ -48,6 +48,23 @@
</dependencies>
<build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <configuration>
+ <container>
+ <containerId>tomcat5x</containerId>
+ <home>${cargo.tomcat5x.home}</home>
+ <log>${project.build.directory}/tomcat5x.log</log>
+ <output>${project.build.directory}/tomcat5x.out</output>
+ </container>
+ <configuration>
+ <home>${project.build.directory}/tomcat5x</home>
+ </configuration>
+ </configuration>
+ </plugin>
+ </plugins>
<finalName>${pom.artifactId}</finalName>
</build>