You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ha...@apache.org on 2007/05/05 00:43:14 UTC

svn commit: r535399 - /maven/sandbox/trunk/enterprise/enterprise-runtime/pom.xml

Author: handyande
Date: Fri May  4 15:43:13 2007
New Revision: 535399

URL: http://svn.apache.org/viewvc?view=rev&rev=535399
Log:
Deploy wars into appserver instead of plexus-applications where the plexus-applications are just wrappers.
Note the config at the end of pom.xml for mapping the applications into jetty (this is in my-plexus-application/application.xml currently)

Modified:
    maven/sandbox/trunk/enterprise/enterprise-runtime/pom.xml

Modified: maven/sandbox/trunk/enterprise/enterprise-runtime/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/enterprise/enterprise-runtime/pom.xml?view=diff&rev=535399&r1=535398&r2=535399
==============================================================================
--- maven/sandbox/trunk/enterprise/enterprise-runtime/pom.xml (original)
+++ maven/sandbox/trunk/enterprise/enterprise-runtime/pom.xml Fri May  4 15:43:13 2007
@@ -27,27 +27,27 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-appserver-host</artifactId>
-      <version>2.0-alpha-8</version>
+      <version>2.0-alpha-9-SNAPSHOT</version>
     </dependency>
 
     <!-- Applications -->
     <dependency>
       <groupId>org.apache.maven.enterprise</groupId>
-      <artifactId>enterprise-plexus-application</artifactId>
+      <artifactId>enterprise-web</artifactId>
       <version>1.0-SNAPSHOT</version>
-      <type>plexus-application</type>
+      <type>war</type>
     </dependency>
     <dependency>
       <groupId>org.apache.maven.continuum</groupId>
-      <artifactId>continuum-plexus-application</artifactId>
+      <artifactId>continuum-webapp</artifactId>
       <version>1.1-SNAPSHOT</version>
-      <type>plexus-application</type>
+      <type>war</type>
     </dependency>
     <dependency>
       <groupId>org.apache.maven.archiva</groupId>
-      <artifactId>archiva-plexus-application</artifactId>
+      <artifactId>archiva-webapp</artifactId>
       <version>1.0-SNAPSHOT</version>
-      <type>plexus-application</type>
+      <type>war</type>
     </dependency>
 
     <!-- Services -->
@@ -106,7 +106,7 @@
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-appserver-maven-plugin</artifactId>
-        <version>2.0-alpha-8</version>
+        <version>2.0-alpha-9-SNAPSHOT</version>
         <extensions>true</extensions>
         <executions>
           <execution>
@@ -114,6 +114,7 @@
               <goal>assemble-runtime</goal>
               <goal>add-services</goal>
               <goal>add-apps</goal>
+              <goal>add-webapps</goal>
             </goals>
           </execution>
         </executions>
@@ -138,6 +139,21 @@
 
 
           </additionalCoreArtifacts>
+          <webappPort>8080</webappPort>
+          <webappMappings>
+            <property>
+              <name>org.apache.maven.enterprise:enterprise-web</name>
+              <value>/</value>
+            </property>
+            <property>
+              <name>org.apache.maven.continuum:continuum-webapp</name>
+              <value>/continuum</value>
+            </property>
+            <property>
+              <name>org.apache.maven.archiva:archiva-webapp</name>
+              <value>/archiva</value>
+            </property>
+          </webappMappings>
         </configuration>
       </plugin>
     </plugins>