more custom goals
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@267457 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
d7cd5e76b2
commit
97cd572298
1 file changed
+20
-20
@@ -15,32 +15,32 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<project
|
||||
xmlns:ant="jelly:ant"
|
||||
xmlns:i="jelly:interaction"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<goal name="plugins:test-all">
|
||||
<j:set var="goal" value="plugin:test"/>
|
||||
<!-- The following tests are broken under any version of Maven -->
|
||||
<j:set var="maven.multiproject.excludes" value="aspectwerkz/*,cruisecontrol/*,dashboard/*,eclipse/*,javadoc/*,clover/*,gump/*"/>
|
||||
<project xmlns:ant="jelly:ant" xmlns:i="jelly:interaction" xmlns:j="jelly:core">
|
||||
<goal name="plugins:install-all" description="Install all plugins">
|
||||
<j:set var="goal" value="clean,plugin:install"/>
|
||||
<attainGoal name="multiproject:goal"/>
|
||||
</goal>
|
||||
|
||||
<goal name="plugins:repository-deploy-all" description="Deploy all plugins in a remote repository">
|
||||
<j:set var="goal" value="clean,plugin:repository-deploy"/>
|
||||
<attainGoal name="multiproject:goal"/>
|
||||
</goal>
|
||||
<goal name="plugins:test-all" description="Test all plugins">
|
||||
<j:set var="goal" value="plugin:test"/>
|
||||
<!-- The following tests are broken under any version of Maven -->
|
||||
<j:set var="maven.multiproject.excludes" value="aspectwerkz/*,cruisecontrol/*,dashboard/*,eclipse/*,javadoc/*,clover/*,gump/*,plugin/*"/>
|
||||
<attainGoal name="multiproject:goal"/>
|
||||
</goal>
|
||||
<goal name="plugins:site" description="Create the web site root for all plugins">
|
||||
<attainGoal name="multiproject:site"/>
|
||||
</goal>
|
||||
<goal name="confirm-and-deploy-site">
|
||||
<i:ask
|
||||
question="Would you like to regenerate and deploy the main plugins site (y/n)?"
|
||||
answer="ok"
|
||||
default="y"
|
||||
/>
|
||||
<i:ask question="Would you like to regenerate and deploy the main plugins site (y/n)?" answer="ok" default="y"/>
|
||||
<j:if test="${ok == 'y'}">
|
||||
<attainGoal name="multiproject:site" />
|
||||
<attainGoal name="site:sshdeploy" />
|
||||
<attainGoal name="multiproject:site"/>
|
||||
<attainGoal name="site:sshdeploy"/>
|
||||
</j:if>
|
||||
</goal>
|
||||
|
||||
<postGoal name="site">
|
||||
<ant:move file="${maven.docs.dest}/projects-overview.html" tofile="${maven.docs.dest}/index.html" />
|
||||
<ant:move file="${maven.docs.dest}/projects-overview.html" tofile="${maven.docs.dest}/index.html"/>
|
||||
</postGoal>
|
||||
|
||||
</project>
|
||||
Reference in new issue
Block a user