struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r433522 - /struts/sandbox/trunk/tiles/tiles-test/pom.xml
Date Tue, 22 Aug 2006 05:07:07 GMT
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>
 



Mime
View raw message