You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ws...@apache.org on 2006/05/23 05:02:19 UTC
svn commit: r408821 - /struts/action2/trunk/apps/pom.xml
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>
Re: svn commit: r408821 - /struts/action2/trunk/apps/pom.xml
Posted by Wendy Smoak <ws...@gmail.com>.
On 5/22/06, wsmoak@apache.org <ws...@apache.org> wrote:
> 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
You can also set the 'cargo.tomcat5x.home' property in settings.xml.
See this page for an example:
http://wiki.apache.org/struts/StrutsMaintenanceMaven
(And now I see that there was already Jetty6 plugin configuration in
most of the apps. Oh, well, now you can try them in more than one
container. :) )
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org