Use multiproject:goal instead of repeatedly hard coding the maven:reactor tag

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113620 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-07-09 06:03:39 +00:00
parent 65e9301f15
commit 2f282aef75

View File

@ -31,14 +31,8 @@
<attainGoal name="multiproject:create-nav"/>
<!-- generate site docs -->
<maven:reactor
basedir="${maven.multiproject.basedir}"
includes="${maven.multiproject.includes}"
excludes="${maven.multiproject.excludes}"
postProcessing="true"
goals="clean,site"
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
<j:set var="goal" value="clean,site" />
<attainGoal name="multiproject:goal" />
<attainGoal name="site" />
@ -148,15 +142,8 @@ maven -Dgoal=clean multiproject:goal</m:param-check>
<goal name="multiproject:install"
description="Run 'artifact':install for all subprojects">
<!-- fixme: use multiproject:goal here -->
<maven:reactor
basedir="${maven.multiproject.basedir}"
includes="${maven.multiproject.includes}"
excludes="${maven.multiproject.excludes}"
postProcessing="false"
goals="multiproject:install-callback"
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
<j:set var="goal" name="multiproject:install-callback"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="multiproject:install-callback">
@ -169,15 +156,8 @@ maven -Dgoal=clean multiproject:goal</m:param-check>
<goal name="multiproject:install-snapshot"
description="Run 'artifact':install-snapshot for all subprojects">
<!-- fixme: use multiproject:goal here -->
<maven:reactor
basedir="${maven.multiproject.basedir}"
includes="${maven.multiproject.includes}"
excludes="${maven.multiproject.excludes}"
postProcessing="false"
goals="multiproject:install-snapshot-callback"
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
<j:set var="goal" name="multiproject:install-snapshot-callback"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="multiproject:install-snapshot-callback">
@ -190,15 +170,8 @@ maven -Dgoal=clean multiproject:goal</m:param-check>
<goal name="multiproject:deploy"
description="Run 'artifact':deploy for all subprojects">
<!-- fixme: use multiproject:goal here -->
<maven:reactor
basedir="${maven.multiproject.basedir}"
includes="${maven.multiproject.includes}"
excludes="${maven.multiproject.excludes}"
postProcessing="false"
goals="multiproject:deploy-callback"
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
<j:set var="goal" name="multiproject:deploy-callback"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="multiproject:deploy-callback">
@ -211,15 +184,8 @@ maven -Dgoal=clean multiproject:goal</m:param-check>
<goal name="multiproject:deploy-snapshot"
description="Run 'artifact':deploy-snapshot for all subprojects">
<!-- fixme: use multiproject:goal here -->
<maven:reactor
basedir="${maven.multiproject.basedir}"
includes="${maven.multiproject.includes}"
excludes="${maven.multiproject.excludes}"
postProcessing="false"
goals="multiproject:deploy-snapshot-callback"
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
<j:set var="goal" name="multiproject:deploy-snapshot-callback"/>
<attainGoal name="multiproject:goal"/>
</goal>
<goal name="multiproject:deploy-snapshot-callback">