do not use dot in inner script variables names (interpreted as a property...)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@329922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2005-10-31 22:37:43 +00:00
parent 8a6e2bd377
commit 8aa6443bbf

View File

@ -30,15 +30,14 @@
</goal> </goal>
<goal name="plugins:deploy-all-sites" description="Create and deploy the web site for all plugins"> <goal name="plugins:deploy-all-sites" description="Create and deploy the web site for all plugins">
<!-- We don't want to have the question about to deploy the root site after each plugin --> <!-- We don't want to have the question about to deploy the root site after each plugin -->
<ant:property name="skip.main.site" value="true"/> <j:set var="skipQuestion" value="true" scope="parent"/>
<ant:property name="goal" value="site:deploy"/> <j:set var="goal" value="site:deploy"/>
<attainGoal name="multiproject:goal"/> <attainGoal name="multiproject:goal"/>
<attainGoal name="multiproject:site"/> <attainGoal name="multiproject:site"/>
<attainGoal name="site:deploy"/> <attainGoal name="site:deploy"/>
</goal> </goal>
<goal name="confirm-and-deploy-site"> <goal name="confirm-and-deploy-site">
<j:set var="skipQuestion" value="${skip.main.site}"/> <j:if test="${(skipQuestion == null) or not (skipQuestion == 'true')}">
<j:if test="${!empty(skipQuestion) and skipQuestion==true}">
<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'}"> <j:if test="${ok == 'y'}">
<attainGoal name="multiproject:site"/> <attainGoal name="multiproject:site"/>