[HepData-svn] r1307 - trunk/hepdata-webapp

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sat Nov 7 15:39:18 GMT 2009


Author: buckley
Date: Sat Nov  7 15:39:18 2009
New Revision: 1307

Log:
Adding Cargo configuration (for deployment to remote Jetty and other Java servers)

Modified:
   trunk/hepdata-webapp/pom.xml

Modified: trunk/hepdata-webapp/pom.xml
==============================================================================
--- trunk/hepdata-webapp/pom.xml	Sat Nov  7 15:14:03 2009	(r1306)
+++ trunk/hepdata-webapp/pom.xml	Sat Nov  7 15:39:18 2009	(r1307)
@@ -22,6 +22,7 @@
   <build>
     <finalName>hepdata-webapp</finalName>
     <plugins>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
@@ -34,9 +35,10 @@
 
       <plugin>
         <groupId>org.mortbay.jetty</groupId>
-        <!-- New version... startup currently very slow: -->
-        <!-- <artifactId>jetty-maven-plugin</artifactId> -->
+        <!-- Jetty6: for production -->
         <artifactId>maven-jetty-plugin</artifactId>
+        <!-- Jetty7: unstable -->
+        <!-- <artifactId>jetty-maven-plugin</artifactId> -->
         <configuration>
           <contextPath>/</contextPath>
           <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
@@ -51,6 +53,32 @@
           </connectors>
         </configuration>
       </plugin>
+      
+      <plugin>
+        <groupId>org.codehaus.cargo</groupId>
+        <artifactId>cargo-maven2-plugin</artifactId>
+        <!-- <version>0.3-SNAPSHOT</version> -->
+        <configuration>
+          <container>
+            <containerId>jetty6x</containerId>
+            <!-- <type>remote</type> -->
+            <type>embedded</type>
+          </container>
+          <!-- <deployer> -->
+          <!--   <type>local</type> -->
+          <!--   <deployables> -->
+          <!--     <deployable> -->
+          <!--       <groupId>cedar.hepdata.webapp</groupId> -->
+          <!--       <artifactId>hepdata-webapp</artifactId> -->
+          <!--       <type>war</type> -->
+          <!--       <properties> -->
+          <!--         <context>/</context> -->
+          <!--       </properties> -->
+          <!--     </deployable> -->
+          <!--   </deployables> -->
+          <!-- </deployer> -->
+        </configuration>
+      </plugin>
 
       <plugin>
         <artifactId>maven-war-plugin</artifactId>


More information about the HepData-svn mailing list