Author: taylor
Date: Wed Oct 25 19:37:15 2006
New Revision: 467841

URL: http://svn.apache.org/viewvc?view=rev&rev=467841
Log:
add enterprise (EAR) build to the maven-2 portal archetype

Added:
    
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/enterprise/
    
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/enterprise/pom.xml
Modified:
    
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/pom.xml
    portals/jetspeed-2/trunk/pom.xml

Added: 
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/enterprise/pom.xml
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/enterprise/pom.xml?view=auto&rev=467841
==============================================================================
--- 
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/enterprise/pom.xml
 (added)
+++ 
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/enterprise/pom.xml
 Wed Oct 25 19:37:15 2006
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+  $Id:$
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+
+    <modelVersion>4.0.0</modelVersion>
+    <prerequisites>
+        <maven>2.0.4</maven>
+    </prerequisites>
+
+    <!-- POM Identification -->
+
+    <artifactId>${artifactId}-enterprise</artifactId>
+    <parent>
+        <groupId>${groupId}</groupId>
+        <artifactId>${artifactId}</artifactId>
+        <version>${version}</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>    
+    <packaging>ear</packaging>
+    <name>${artifactId} Enterprise Archive</name>
+
+    <!-- Application Modules -->
+
+    <modules>
+    </modules>
+
+    <!-- Application Dependencies -->
+    
+    <dependencies>
+        <!-- Provided Dependencies -->
+        <dependency>
+            <groupId>${groupId}</groupId>
+            <artifactId>${artifactId}-portal</artifactId>
+            <version>${version}</version>
+                   <type>war</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.portals.jetspeed-2</groupId>
+            <artifactId>jetspeed-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.portals.jetspeed-2</groupId>
+            <artifactId>jetspeed-commons</artifactId>
+        </dependency>
+        <dependency>       
+            <groupId>portlet-api</groupId>
+            <artifactId>portlet-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.pluto</groupId>
+            <artifactId>pluto</artifactId>
+        </dependency>        
+        <dependency>
+            <groupId>org.apache.portals.bridges</groupId>
+            <artifactId>portals-bridges-common</artifactId>
+        </dependency>        
+        <dependency>
+            <groupId>org.apache.portals.jetspeed-2</groupId>
+            <artifactId>j2-admin</artifactId>
+                   <type>war</type>
+        </dependency>
+    </dependencies>
+
+        <build>
+               <plugins>
+                     <plugin>
+                       <groupId>org.apache.maven.plugins</groupId>
+                       <artifactId>maven-ear-plugin</artifactId>
+                       <configuration>
+                          <modules>
+                            <webModule>
+                              <groupId>${groupId}</groupId>
+                              <artifactId>${artifactId}-portal</artifactId>
+                              <contextRoot>/${artifactId}</contextRoot>
+                            </webModule>                       
+                            <webModule>
+                              <groupId>org.apache.portals.jetspeed-2</groupId>
+                              <artifactId>j2-admin</artifactId>
+                              <contextRoot>/j2-admin</contextRoot>
+                            </webModule>
+                       
+                                  <javaModule>
+                      <groupId>org.apache.portals.jetspeed-2</groupId>
+                      <artifactId>jetspeed-api</artifactId>
+                      <bundleDir>/</bundleDir>
+                   </javaModule>
+                                  <javaModule>
+                      <groupId>org.apache.portals.jetspeed-2</groupId>
+                      <artifactId>jetspeed-commons</artifactId>
+                      <bundleDir>/</bundleDir>
+                   </javaModule>
+                                  <javaModule>
+                      <groupId>org.apache.portals.bridges</groupId>
+                      <artifactId>portals-bridges-common</artifactId>
+                      <bundleDir>/</bundleDir>
+                   </javaModule>
+                                  <javaModule>                      
+                      <groupId>portlet-api</groupId>
+                      <artifactId>portlet-api</artifactId>
+                      <bundleDir>/</bundleDir>
+                   </javaModule>
+                                  <javaModule>                      
+                      <groupId>org.apache.pluto</groupId>
+                      <artifactId>pluto</artifactId>                        
+                      <bundleDir>/</bundleDir>
+                   </javaModule>                                              
+                         </modules>
+                       </configuration>
+                     </plugin>
+                   </plugins>
+        </build>
+</project>
+

Modified: 
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/pom.xml?view=diff&rev=467841&r1=467840&r2=467841
==============================================================================
--- 
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/pom.xml
 (original)
+++ 
portals/jetspeed-2/trunk/maven-archetypes/portal/src/archetype/archetype-resources/pom.xml
 Wed Oct 25 19:37:15 2006
@@ -142,6 +142,9 @@
         <!-- Portal Application Server Deployment -->
         <module>app-servers</module>
 
+        <!-- Build Enterprise APP -->
+        <!-- <module>enterprise</module> -->
+        
     </modules>
 
     <!-- Repositories -->

Modified: portals/jetspeed-2/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/pom.xml?view=diff&rev=467841&r1=467840&r2=467841
==============================================================================
--- portals/jetspeed-2/trunk/pom.xml (original)
+++ portals/jetspeed-2/trunk/pom.xml Wed Oct 25 19:37:15 2006
@@ -239,6 +239,9 @@
         <module>app-servers</module>
         <module>maven-archetypes</module>
 
+        <!-- Optionally (not sure how to optionally with Maven-2...) Build 
Enterprise APP -->
+        <!-- <module>enterprise</module> -->
+        
     </modules>
 
     <!-- Repositories -->



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to