Author: mstruk
Date: 2011-01-19 15:40:55 -0500 (Wed, 19 Jan 2011)
New Revision: 5794
Modified:
portal/trunk/packaging/jboss-as5/README.txt
portal/trunk/packaging/jboss-as5/pom.xml
portal/trunk/packaging/jboss-as6/README.txt
portal/trunk/packaging/jboss-as6/pom.xml
Log:
GTNMAVEN-16 Packaging that supports JBossAS6 and does away with javascript packager
- set 'package' as default goal
Modified: portal/trunk/packaging/jboss-as5/README.txt
===================================================================
--- portal/trunk/packaging/jboss-as5/README.txt 2011-01-19 19:58:28 UTC (rev 5793)
+++ portal/trunk/packaging/jboss-as5/README.txt 2011-01-19 20:40:55 UTC (rev 5794)
@@ -41,15 +41,17 @@
Together they resolve into $GATEIN/portal/trunk/packaging/pkg/servers/jboss-5.1.0.GA as
the location where JBoss AS is found.
+The default goal is set to 'package' so there is no need to specify it.
+
== Examples ==
1) The simplest form uses default location for JBoss AS
-mvn package
+mvn
This is equivalent to:
@@ -58,28 +60,28 @@
2) If JBoss AS is located somewhere else adjust servers.dir and jbossas.name accordingly
-mvn package -Dservers.dir=SERVERS_DIR -Djbossas.name=JBOSSAS_NAME
+mvn -Dservers.dir=SERVERS_DIR -Djbossas.name=JBOSSAS_NAME
3) If JBoss AS is not yet present on the system it can be automatically downloaded and
extracted into SERVERS_DIR
-mvn package -Pdownload
+mvn -Pdownload
If SERVERS_DIR is not at default location explicitly set it:
-mvn package -Pdownload -Dservers.dir=SERVERS_DIR
+mvn -Pdownload -Dservers.dir=SERVERS_DIR
You shouldn't set jbossas.name property when using -Pdownload.
4) Zip bundle may be produced by activating 'bundle' profile
-mvn package -Pdownload,bundle
+mvn -Pdownload,bundle
or
-mvn package -Pdefault,bundle
+mvn -Pdefault,bundle
or just
-mvn package -Pbundle
+mvn -Pbundle
Modified: portal/trunk/packaging/jboss-as5/pom.xml
===================================================================
--- portal/trunk/packaging/jboss-as5/pom.xml 2011-01-19 19:58:28 UTC (rev 5793)
+++ portal/trunk/packaging/jboss-as5/pom.xml 2011-01-19 20:40:55 UTC (rev 5794)
@@ -13,6 +13,10 @@
<name>GateIn JBoss AS 5.x.x packaging</name>
+ <build>
+ <defaultGoal>package</defaultGoal>
+ </build>
+
<modules>
<module>pkg</module>
</modules>
Modified: portal/trunk/packaging/jboss-as6/README.txt
===================================================================
--- portal/trunk/packaging/jboss-as6/README.txt 2011-01-19 19:58:28 UTC (rev 5793)
+++ portal/trunk/packaging/jboss-as6/README.txt 2011-01-19 20:40:55 UTC (rev 5794)
@@ -39,22 +39,17 @@
Together they resolve into $GATEIN/portal/trunk/packaging/pkg/servers/jboss-6.0.0.Final
as the location where JBoss AS is found.
-PKG build uses two equivalent properties:
+The default goal is set to 'package' so there is no need to specify it.
-exo.projects.directory.dependencies
-exo.projects.app.jboss.version
-which can still be used instead of servers.dir and jbossas.name.
-
-
== Examples ==
1) The simplest form uses default location for JBoss AS
-mvn package
+mvn
This is equivalent to:
@@ -63,28 +58,28 @@
2) If JBoss AS is located somewhere else adjust servers.dir and jbossas.name accordingly
-mvn package -Dservers.dir=SERVERS_DIR -Djbossas.name=JBOSSAS_NAME
+mvn -Dservers.dir=SERVERS_DIR -Djbossas.name=JBOSSAS_NAME
3) If JBoss AS is not yet present on the system it can be automatically downloaded and
extracted into SERVERS_DIR
-mvn package -Pdownload
+mvn -Pdownload
If SERVERS_DIR is not at default location explicitly set it:
-mvn package -Pdownload -Dservers.dir=SERVERS_DIR
+mvn -Pdownload -Dservers.dir=SERVERS_DIR
You shouldn't set jbossas.name property when using -Pdownload.
4) Zip bundle may be produced by activating 'bundle' profile
-mvn package -Pdownload,bundle
+mvn -Pdownload,bundle
or
-mvn package -Pdefault,bundle
+mvn -Pdefault,bundle
or just
-mvn package -Pbundle
+mvn -Pbundle
Modified: portal/trunk/packaging/jboss-as6/pom.xml
===================================================================
--- portal/trunk/packaging/jboss-as6/pom.xml 2011-01-19 19:58:28 UTC (rev 5793)
+++ portal/trunk/packaging/jboss-as6/pom.xml 2011-01-19 20:40:55 UTC (rev 5794)
@@ -13,6 +13,10 @@
<name>GateIn JBoss AS 6.x.x packaging</name>
+ <build>
+ <defaultGoal>package</defaultGoal>
+ </build>
+
<modules>
<module>pkg</module>
</modules>
Show replies by date