fix property setting

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2004-04-17 01:09:23 +00:00
parent be02a5372d
commit 75db74a84d
2 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@
<j:when test="${goal.indexOf('=') != '-1'}"> <j:when test="${goal.indexOf('=') != '-1'}">
<util:tokenize var="propertyPieces" delim="=">${goal}</util:tokenize> <util:tokenize var="propertyPieces" delim="=">${goal}</util:tokenize>
<log:info>Setting property ${propertyPieces[0]} to ${propertyPieces[1]}</log:info> <log:info>Setting property ${propertyPieces[0]} to ${propertyPieces[1]}</log:info>
<j:set var="${propertyPieces[0]}" value="${propertyPieces[1]}" /> <j:set var="${propertyPieces[0]}" value="${propertyPieces[1]}" scope="parent" />
</j:when> </j:when>
<j:when test="${goal=='help'}"> <j:when test="${goal=='help'}">
<attainGoal name="console:help"/> <attainGoal name="console:help"/>

View File

@ -26,6 +26,7 @@
<body> <body>
<release version="1.1-SNAPSHOT" date="in CVS"> <release version="1.1-SNAPSHOT" date="in CVS">
<action dev="brett" type="add" issue="MPCONSOLE-2">Add some whitespace before goal</action> <action dev="brett" type="add" issue="MPCONSOLE-2">Add some whitespace before goal</action>
<action dev="brett" type="fix">Set properties in parent scope so it takes effect for plugin properties</action>
</release> </release>
<release version="1.0" date="2003-09-29"> <release version="1.0" date="2003-09-29">
<action dev="smor" type="add"> <action dev="smor" type="add">