Author: wsmoak
Date: Mon May 22 20:02:18 2006
New Revision: 408821
URL: http://svn.apache.org/viewvc?rev=408821&view=rev
Log:
Added Cargo plugin configuration for apps.
Usage: mvn package cargo:start -Dcargo.tomcat5x.home=/path/to/tomcat
Modified:
struts/action2/trunk/apps/pom.xml
Modified: struts/action2/trunk/apps/pom.xml
URL:
http://svn.apache.org/viewvc/struts/action2/trunk/apps/pom.xml?rev=408821&r1=408820&r2=408821&view=diff
==============================================================================
--- struts/action2/trunk/apps/pom.xml (original)
+++ struts/action2/trunk/apps/pom.xml Mon May 22 20:02:18 2006
@@ -96,6 +96,26 @@
</profile>
</profiles>
+ <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>
+ </build>
+
<dependencies>
<dependency>