You should be able to borrow the configuration from the selenium tests?

On 03/06/2007, at 3:24 PM, [EMAIL PROTECTED] wrote:

Author: wsmoak
Date: Sat Jun  2 22:24:12 2007
New Revision: 543842

URL: http://svn.apache.org/viewvc?view=rev&rev=543842
Log:
Initial pass at configuring the Cargo plugin to start Archiva in Tomcat.
TODO: Investigate config for data sources.

Modified:
    maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml

Modified: maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-web/ archiva-webapp/pom.xml?view=diff&rev=543842&r1=543841&r2=543842 ====================================================================== ========
--- maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml (original)
+++ maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml Sat Jun 2 22:24:12 2007
@@ -397,6 +397,26 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+          <!-- TODO:  configure data sources -->
+          <groupId>org.codehaus.cargo</groupId>
+          <artifactId>cargo-maven2-plugin</artifactId>
+          <version>0.3.1</version>
+          <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>
+                  <properties>
+ <cargo.jvmargs> -Xdebug - Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n </ cargo.jvmargs>
+                  </properties>
+              </configuration>
+          </configuration>
+      </plugin>
     </plugins>
   </build>
   <profiles>

Reply via email to