The goal confirm-and-deploy-site wasn't moved in the good project

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@377145 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier
2006-02-12 07:23:40 +00:00
parent bf4da3d765
commit 29061271bb
2 changed files with 11 additions and 9 deletions

View File

@@ -47,4 +47,15 @@
ignoreFailures="false"
/>
</postGoal>
<goal name="confirm-and-deploy-site">
<j:if test="${(skipQuestion == null) or not (skipQuestion == 'true')}">
<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"/>
</j:if>
</j:if>
</goal>
</project>

View File

@@ -27,15 +27,6 @@
<attainGoal name="multiproject:site"/>
<attainGoal name="site:deploy"/>
</goal>
<goal name="confirm-and-deploy-site">
<j:if test="${(skipQuestion == null) or not (skipQuestion == 'true')}">
<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"/>
</j:if>
</j:if>
</goal>
<postGoal name="site">
<ant:move file="${maven.docs.dest}/projects-overview.html" tofile="${maven.docs.dest}/index.html"/>
</postGoal>