]> source.dussan.org Git - archiva.git/commitdiff
Initial pass at configuring the Cargo plugin to start Archiva in Tomcat.
authorWendy Smoak <wsmoak@apache.org>
Sun, 3 Jun 2007 05:24:12 +0000 (05:24 +0000)
committerWendy Smoak <wsmoak@apache.org>
Sun, 3 Jun 2007 05:24:12 +0000 (05:24 +0000)
TODO: Investigate config for data sources.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543842 13f79535-47bb-0310-9956-ffa450edef68

archiva-web/archiva-webapp/pom.xml

index e13fd8d5996cac7e43600ba82e76b2335a960486..8dd6b7c6c33f064d9e1d26dbdb048b0f798165f1 100644 (file)
           </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>