Author: dkatayev
Date: 2010-05-21 04:23:09 -0400 (Fri, 21 May 2010)
New Revision: 2420
Added:
jcr/trunk/applications/exo.jcr.applications.jboss/pom.xml
Removed:
jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml
Log:
EXOJCR-739 JBoss deploy module moved to separate module.
Copied: jcr/trunk/applications/exo.jcr.applications.jboss/pom.xml (from rev 2419,
jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml)
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.jboss/pom.xml (rev
0)
+++ jcr/trunk/applications/exo.jcr.applications.jboss/pom.xml 2010-05-21 08:23:09 UTC (rev
2420)
@@ -0,0 +1,138 @@
+<!--
+
+ 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>
+ <parent>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.config</artifactId>
+ <version>1.12.2-GA-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>exo.jcr.applications.jboss</artifactId>
+ <packaging>pom</packaging>
+ <name>eXo JCR :: Applications :: JBoss AS</name>
+ <url>http://www.exoplatform.org</url>
+ <description>eXo JCR JBoss Applications Server</description>
+
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.ear</artifactId>
+ <version>1.12.2-GA-SNAPSHOT</version>
+ <type>ear</type>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+ <profile>
+ <id>deploy</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>assembly</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <descriptors>
+ <descriptor>product-exo-jcr-as-descriptor.xml</descriptor>
+ </descriptors>
+ <finalName>lib</finalName>
+ <ignoreDirFormatExtensions>false</ignoreDirFormatExtensions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <tasks>
+ <!--copying the AS-->
+ <delete dir="${exo.projects.directory.working}/exo-jboss"
includeEmptyDirs="true" quiet="yes" />
+ <copy todir="${exo.projects.directory.working}/exo-jboss"
verbose="false" overwrite="true">
+ <fileset
dir="${exo.projects.directory.dependencies}/${exo.projects.app.jboss.version}"
/>
+ </copy>
+ <!--renaming ear-->
+ <move todir="${basedir}/target/lib-binary.dir/">
+ <fileset dir="${basedir}/target/lib-binary.dir/">
+ <include name="**/*.ear" />
+ </fileset>
+ <mapper>
+ <chainedmapper>
+ <flattenmapper />
+ <globmapper from="*-${project.version}.ear"
to="*.ear" casesensitive="no" />
+ </chainedmapper>
+ </mapper>
+ </move>
+ <!--copying the ear-->
+ <copy
todir="${exo.projects.directory.working}/exo-jboss/server/default/deploy/"
verbose="true" overwrite="true">
+ <fileset dir="${basedir}/target/lib-binary.dir/"
includes="**/*.ear" />
+ </copy>
+ <!--copying exo-configuration.xml-->
+ <copy todir="${exo.projects.directory.working}/exo-jboss/"
verbose="true" overwrite="true">
+ <fileset dir="${basedir}/product-patches/as/jboss/"
includes="*.xml" />
+ </copy>
+ <copy
todir="${exo.projects.directory.working}/exo-jboss/server/default/conf/"
verbose="true" overwrite="true">
+ <fileset
dir="${basedir}/product-patches/as/jboss/exoplatform.sar/META-INF/"
includes="login*.xml" />
+ </copy>
+ <!-- we don't need it for JBossAS 5.1 -->
+ <!-- delete
file="${exo.projects.directory.working}/exo-jboss/server/default/lib/hsqldb.jar"
/>
+ <copy
todir="${exo.projects.directory.working}/exo-jboss/server/default/lib/">
+ <fileset dir="${basedir}/target/lib-binary.dir/">
+ <include name="**/hsqldb*.jar" />
+ </fileset>
+ </copy
+-->
+ </tasks>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+
+</project>
Deleted: jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml
===================================================================
--- jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml 2010-05-21 08:20:01 UTC (rev
2419)
+++ jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml 2010-05-21 08:23:09 UTC (rev
2420)
@@ -1,138 +0,0 @@
-<!--
-
- 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>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.config</artifactId>
- <version>1.12.2-GA-SNAPSHOT</version>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>exo.jcr.applications.jboss</artifactId>
- <packaging>pom</packaging>
- <name>eXo JCR :: Applications :: JBoss AS</name>
- <url>http://www.exoplatform.org</url>
- <description>eXo JCR JBoss Applications Server</description>
-
- <properties>
- <enforcer.skip>true</enforcer.skip>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.ear</artifactId>
- <version>1.12.2-GA-SNAPSHOT</version>
- <type>ear</type>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-
- <profiles>
- <profile>
- <id>deploy</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <phase>install</phase>
- <goals>
- <goal>assembly</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <descriptors>
- <descriptor>product-exo-jcr-as-descriptor.xml</descriptor>
- </descriptors>
- <finalName>lib</finalName>
- <ignoreDirFormatExtensions>false</ignoreDirFormatExtensions>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>install</phase>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <tasks>
- <!--copying the AS-->
- <delete dir="${exo.projects.directory.working}/exo-jboss"
includeEmptyDirs="true" quiet="yes" />
- <copy todir="${exo.projects.directory.working}/exo-jboss"
verbose="false" overwrite="true">
- <fileset
dir="${exo.projects.directory.dependencies}/${exo.projects.app.jboss.version}"
/>
- </copy>
- <!--renaming ear-->
- <move todir="${basedir}/target/lib-binary.dir/">
- <fileset dir="${basedir}/target/lib-binary.dir/">
- <include name="**/*.ear" />
- </fileset>
- <mapper>
- <chainedmapper>
- <flattenmapper />
- <globmapper from="*-${project.version}.ear"
to="*.ear" casesensitive="no" />
- </chainedmapper>
- </mapper>
- </move>
- <!--copying the ear-->
- <copy
todir="${exo.projects.directory.working}/exo-jboss/server/default/deploy/"
verbose="true" overwrite="true">
- <fileset dir="${basedir}/target/lib-binary.dir/"
includes="**/*.ear" />
- </copy>
- <!--copying exo-configuration.xml-->
- <copy todir="${exo.projects.directory.working}/exo-jboss/"
verbose="true" overwrite="true">
- <fileset dir="${basedir}/product-patches/as/jboss/"
includes="*.xml" />
- </copy>
- <copy
todir="${exo.projects.directory.working}/exo-jboss/server/default/conf/"
verbose="true" overwrite="true">
- <fileset
dir="${basedir}/product-patches/as/jboss/exoplatform.sar/META-INF/"
includes="login*.xml" />
- </copy>
- <!-- we don't need it for JBossAS 5.1 -->
- <!-- delete
file="${exo.projects.directory.working}/exo-jboss/server/default/lib/hsqldb.jar"
/>
- <copy
todir="${exo.projects.directory.working}/exo-jboss/server/default/lib/">
- <fileset dir="${basedir}/target/lib-binary.dir/">
- <include name="**/hsqldb*.jar" />
- </fileset>
- </copy
--->
- </tasks>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-
-</project>