Author: hoang_to
Date: 2010-10-08 09:28:01 -0400 (Fri, 08 Oct 2010)
New Revision: 4607
Added:
exo/portal/branches/3.1.x/packaging/ear/
exo/portal/branches/3.1.x/packaging/ear/pom.xml
Modified:
exo/portal/branches/3.1.x/packaging/pom.xml
Log:
EXOGTN-97: JBoss EAR packaging
Added: exo/portal/branches/3.1.x/packaging/ear/pom.xml
===================================================================
--- exo/portal/branches/3.1.x/packaging/ear/pom.xml (rev 0)
+++ exo/portal/branches/3.1.x/packaging/ear/pom.xml 2010-10-08 13:28:01 UTC (rev 4607)
@@ -0,0 +1,237 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+
+-->
+
+<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">
+ <parent>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.packaging</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-ear-gatein</artifactId>
+ <packaging>ear</packaging>
+ <name>GateIn Portal JBoss Ear</name>
+ <url>http://www.exoplatform.org</url>
+ <description>GateIn Portal JBoss Ear</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.web.eXoResources</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.web.portal</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.portlet.dashboard</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.portlet.exoadmin</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.portlet.web</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.eXoGadgets</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.gadgets-server</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.web.rest</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>war</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.component.application-registry</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.gatein.wsrp</groupId>
+ <artifactId>wsrp-admin-gui</artifactId>
+ <version>${org.gatein.wsrp.version}</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.gatein.wsrp</groupId>
+ <artifactId>wsrp-producer</artifactId>
+ <version>${org.gatein.wsrp.version}</version>
+ <type>war</type>
+ </dependency>
+
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <configuration>
+ <displayName>gatein</displayName>
+ <defaultLibBundleDir>lib</defaultLibBundleDir>
+ <modules>
+ <webModule>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.web.eXoResources</artifactId>
+ <contextRoot>eXoResources</contextRoot>
+ <bundleFileName>01eXoResources.war</bundleFileName>
+ <unpack>true</unpack>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.web.portal</artifactId>
+ <contextRoot>portal</contextRoot>
+ <bundleFileName>02portal.war</bundleFileName>
+ <unpack>true</unpack>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.portlet.dashboard</artifactId>
+ <contextRoot>dashboard</contextRoot>
+ <bundleFileName>dashboard.war</bundleFileName>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.portlet.exoadmin</artifactId>
+ <contextRoot>exoadmin</contextRoot>
+ <bundleFileName>exoadmin.war</bundleFileName>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.portlet.web</artifactId>
+ <contextRoot>web</contextRoot>
+ <bundleFileName>web.war</bundleFileName>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.eXoGadgets</artifactId>
+ <contextRoot>eXoGadgets</contextRoot>
+ <bundleFileName>eXoGadgets.war</bundleFileName>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.gadgets-server</artifactId>
+ <contextRoot>eXoGadgetServer</contextRoot>
+ <bundleFileName>eXoGadgetServer.war</bundleFileName>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.web.rest</artifactId>
+ <contextRoot>rest</contextRoot>
+ <bundleFileName>rest.war</bundleFileName>
+ </webModule>
+
+ <webModule>
+ <groupId>org.gatein.wsrp</groupId>
+ <artifactId>wsrp-admin-gui</artifactId>
+ <contextRoot>wsrp-admin-gui</contextRoot>
+ <bundleFileName>wsrp-admin-gui.war</bundleFileName>
+ </webModule>
+
+ <webModule>
+ <groupId>org.gatein.wsrp</groupId>
+ <artifactId>wsrp-producer</artifactId>
+ <contextRoot>wsrp-producer</contextRoot>
+ <bundleFileName>wsrp-producer.war</bundleFileName>
+ </webModule>
+
+ </modules>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.exoplatform.portal</groupId>
+
<artifactId>exo.portal.server.jboss.patch-ear</artifactId>
+ <version>3.1.5-PLF-SNAPSHOT</version>
+ <type>jar</type>
+
<outputDirectory>${project.build.directory}/temp</outputDirectory>
+
<includes>server/default/deploy/gatein.ear/**/*.xml</includes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy_integration.war</id>
+ <phase>test</phase>
+ <configuration>
+ <tasks>
+ <mkdir
dir="${project.build.directory}/jboss-ear-gatein-${project.version}/integration.war"
/>
+ <copy
todir="${project.build.directory}/jboss-ear-gatein-${project.version}/integration.war"
>
+ <fileset
dir="${project.build.directory}/temp/server/default/deploy/gatein.ear/integration.war"
/>
+ </copy>
+ <copy
todir="${project.build.directory}/jboss-ear-gatein-${project.version}/META-INF"
>
+ <fileset
dir="${project.build.directory}/temp/server/default/deploy/gatein.ear/META-INF/"
/>
+ </copy>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: exo/portal/branches/3.1.x/packaging/pom.xml
===================================================================
--- exo/portal/branches/3.1.x/packaging/pom.xml 2010-10-08 12:25:39 UTC (rev 4606)
+++ exo/portal/branches/3.1.x/packaging/pom.xml 2010-10-08 13:28:01 UTC (rev 4607)
@@ -32,6 +32,7 @@
<name>GateIn Portal Packaging</name>
<modules>
+ <module>ear</module>
<module>module</module>
<module>product</module>
<module>pkg</module>