+
+ Added multiproject 'install', 'install-snapshot', 'deploy' and 'deploy-snapshot'
+ facility
+
Rename plugin from reactor to multiproject to reduce confusion
diff --git a/multiproject/xdocs/goals.xml b/multiproject/xdocs/goals.xml
index 8efafdaf..969298fe 100644
--- a/multiproject/xdocs/goals.xml
+++ b/multiproject/xdocs/goals.xml
@@ -4,6 +4,7 @@
Maven Multi-Project Plug-in GoalsdIon Gillard
+ Michal Maczka
@@ -12,12 +13,58 @@
Run the site goal of all projects
- multiproject:site
- Run the site goal of all projects
+ multiproject:install
+
+ Run 'artifact':install goal for all project.
+
+ 'artifact' is replaced by the value of property
+ maven.multiproject.type which should be set
+ individualy for each project.
+
+ E.g. if we have projects A, B and C
+ with following settiing:
+
+
A: maven.multiproject.type=war
+
B: maven.multiproject.type=ejb
+
C: maven.multiproject.type=jar
+
+
+ Following goals will be run:
+
+
A: war:install
+
B: ejb:install
+
C: jar:install
+
+
-
- multiproject:goal
-
+
+ multiproject:install-snapshot
+
+ Run 'artifact':install-snapshot goal for all projects.
+
+
+
+ multiproject:deploy
+
+ Run 'artifact':install-snapshot goal for all projects.
+
+
+
+ multiproject:deploy-snapshot
+
+ Run 'artifact':install-snapshot goal for all projects.
+
+
+
+ multiproject:artifact
+
+ Run 'artifact':'artifact' goal for all projects.
+
+
+ multiproject:goal
+
Run the comma separated list of goals provided by the variable goal for all projects
e.g.
@@ -27,8 +74,8 @@
maven -Dgoal=clean,java:compile,test multiproject:goal
-
-
+
+
\ No newline at end of file
diff --git a/multiproject/xdocs/properties.xml b/multiproject/xdocs/properties.xml
index b9d8c587..97510b8c 100644
--- a/multiproject/xdocs/properties.xml
+++ b/multiproject/xdocs/properties.xml
@@ -65,6 +65,30 @@
+
+
+
maven.multiproject.type
+
No
+
+
+ This property should be set for
+ each subproject separately.
+ It allows to control the type of
+ artifact (deliverable) which will
+ be built, installed or deployed by the reactor.
+
+ E.g. this property is set to war
+ when multiproject will build the project
+ it will try to create artifact to attain a goal:
+ war:war. If it is set to ear
+ the goal which will deliver an artifact will be
+ ear:ear
+