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:
parent
8a6e2bd377
commit
8aa6443bbf
@ -30,15 +30,14 @@
|
||||
</goal>
|
||||
<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 -->
|
||||
<ant:property name="skip.main.site" value="true"/>
|
||||
<ant:property name="goal" value="site:deploy"/>
|
||||
<j:set var="skipQuestion" value="true" scope="parent"/>
|
||||
<j:set var="goal" value="site:deploy"/>
|
||||
<attainGoal name="multiproject:goal"/>
|
||||
<attainGoal name="multiproject:site"/>
|
||||
<attainGoal name="site:deploy"/>
|
||||
</goal>
|
||||
<goal name="confirm-and-deploy-site">
|
||||
<j:set var="skipQuestion" value="${skip.main.site}"/>
|
||||
<j:if test="${!empty(skipQuestion) and skipQuestion==true}">
|
||||
<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"/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user