Author: dkatayev
Date: 2010-05-20 09:55:28 -0400 (Thu, 20 May 2010)
New Revision: 2415
Modified:
jcr/trunk/applications/Readme.txt
jcr/trunk/applications/pom.xml
jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml
jcr/trunk/applications/product-exo-jcr-as-jonas-ear.xml
jcr/trunk/applications/product-exo-jcr-as-tomcat6.xml
Log:
EXOJCR-739 poms for deploying applications added to modules in application's reactor
Modified: jcr/trunk/applications/Readme.txt
===================================================================
--- jcr/trunk/applications/Readme.txt 2010-05-20 13:27:54 UTC (rev 2414)
+++ jcr/trunk/applications/Readme.txt 2010-05-20 13:55:28 UTC (rev 2415)
@@ -5,7 +5,7 @@
1.2. exo directory structure.
1.3. Maven version 2.2.1 (or higher).
1.4. Make sure you have run mvn insctal within ./config folder.
-2. Run "mvn -f product-exo-jcr-as-tomcat6.xml clean install antrun:run"
command.
+2. Run "mvn -f product-exo-jcr-as-tomcat6.xml clean install -P deploy"
command.
3. If the command has executed successfully, go to exo-tomcat and run "eXo run"
command.
4. You may use other product-exo-jcr-as* and an application server if you need.
@@ -13,4 +13,4 @@
exo-configuration.xml - the main config file for the samles.
For now you may automatically deploy our samples for tomcat (WARs, JARs should be in
tomcat/lib) and jboss (EAR) application server.
-Deployment procedure has been tested with tomcat-6.0.24, jboss-5.1.0.GA.
\ No newline at end of file
+Deployment procedure has been tested with tomcat-6.0.24, jboss-5.1.0.GA.
Modified: jcr/trunk/applications/pom.xml
===================================================================
--- jcr/trunk/applications/pom.xml 2010-05-20 13:27:54 UTC (rev 2414)
+++ jcr/trunk/applications/pom.xml 2010-05-20 13:55:28 UTC (rev 2415)
@@ -41,5 +41,8 @@
<module>exo.jcr.applications.fckeditor</module>
<module>exo.jcr.applications.rest</module>
<module>exo.jcr.ear</module>
+ <module>product-exo-jcr-as-jboss-ear.xml</module>
+ <module>product-exo-jcr-as-jonas-ear.xml</module>
+ <module>product-exo-jcr-as-tomcat6.xml</module>
</modules>
</project>
Modified: jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml
===================================================================
--- jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml 2010-05-20 13:27:54 UTC (rev
2414)
+++ jcr/trunk/applications/product-exo-jcr-as-jboss-ear.xml 2010-05-20 13:55:28 UTC (rev
2415)
@@ -26,14 +26,14 @@
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>exo.product.jcr</artifactId>
- <packaging>jar</packaging>
- <name>eXo JCR Product</name>
+ <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 Product</description>
-
- <properties>
- <enforcer.skip>true</enforcer.skip>
+ <description>eXo JCR JBoss Applications Server</description>
+
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
</properties>
<dependencies>
@@ -52,7 +52,13 @@
</dependency>
</dependencies>
- <build>
+ <profiles>
+ <profile>
+ <id>deploy</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
@@ -74,6 +80,14 @@
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
<tasks>
<!--copying the AS-->
@@ -110,11 +124,15 @@
<fileset dir="${basedir}/target/lib-binary.dir/">
<include name="**/hsqldb*.jar" />
</fileset>
- </copy -->
+ </copy
+-->
</tasks>
</configuration>
</plugin>
</plugins>
- </build>
+ </build>
+ </profile>
+ </profiles>
+
</project>
Modified: jcr/trunk/applications/product-exo-jcr-as-jonas-ear.xml
===================================================================
--- jcr/trunk/applications/product-exo-jcr-as-jonas-ear.xml 2010-05-20 13:27:54 UTC (rev
2414)
+++ jcr/trunk/applications/product-exo-jcr-as-jonas-ear.xml 2010-05-20 13:55:28 UTC (rev
2415)
@@ -26,14 +26,14 @@
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>exo.product.jcr</artifactId>
- <packaging>jar</packaging>
- <name>eXo JCR Product</name>
+ <artifactId>exo.jcr.applications.jonas</artifactId>
+ <packaging>pom</packaging>
+ <name>eXo JCR :: Applications :: Jonas AS</name>
<url>http://www.exoplatform.org</url>
- <description>eXo JCR Product</description>
-
- <properties>
- <enforcer.skip>true</enforcer.skip>
+ <description>eXo JCR Jonas Applications Server</description>
+
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
</properties>
<dependencies>
@@ -52,7 +52,13 @@
</dependency>
</dependencies>
- <build>
+ <profiles>
+ <profile>
+ <id>deploy</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
@@ -74,6 +80,14 @@
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
<tasks>
<!--copying the AS-->
@@ -118,6 +132,8 @@
</configuration>
</plugin>
</plugins>
- </build>
+ </build>
+ </profile>
+ </profiles>
</project>
Modified: jcr/trunk/applications/product-exo-jcr-as-tomcat6.xml
===================================================================
--- jcr/trunk/applications/product-exo-jcr-as-tomcat6.xml 2010-05-20 13:27:54 UTC (rev
2414)
+++ jcr/trunk/applications/product-exo-jcr-as-tomcat6.xml 2010-05-20 13:55:28 UTC (rev
2415)
@@ -27,12 +27,12 @@
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>exo.product.jcr</artifactId>
+ <artifactId>exo.jcrapplications.tomcat</artifactId>
<packaging>jar</packaging>
- <name>eXo JCR Product</name>
+ <name>eXo JCR :: Applications :: Tomcat AS</name>
<url>http://www.exoplatform.org</url>
- <description>eXo JCR Product</description>
-
+ <description>eXo JCR Tomcat Applications Server</description>
+
<dependencies>
<dependency>
<groupId>hsqldb</groupId>
@@ -44,13 +44,19 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>runtime</scope>
</dependency>
- </dependencies>
-
- <properties>
- <enforcer.skip>true</enforcer.skip>
- </properties>
+ </dependencies>
+
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
- <build>
+ <profiles>
+ <profile>
+ <id>deploy</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
@@ -72,6 +78,14 @@
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
<tasks>
<delete>
@@ -110,6 +124,8 @@
</configuration>
</plugin>
</plugins>
- </build>
+ </build>
+ </profile>
+ </profiles>
</project>
Show replies by date