PR: MPCONSOLE-10
split setting of properties into a separate goal to allow annotation git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@293054 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
60abcae463
commit
2b2f787f11
@ -37,9 +37,7 @@
|
|||||||
<log:info>${prop} = ${context.getVariable(prop)}</log:info>
|
<log:info>${prop} = ${context.getVariable(prop)}</log:info>
|
||||||
</j:when>
|
</j:when>
|
||||||
<j:when test="${goal.indexOf('=') gt 0}">
|
<j:when test="${goal.indexOf('=') gt 0}">
|
||||||
<util:tokenize var="propertyPieces" delim="=">${goal}</util:tokenize>
|
<attainGoal name="console:set-properties" />
|
||||||
<log:info>Setting property ${propertyPieces[0]} to ${propertyPieces[1]}</log:info>
|
|
||||||
<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"/>
|
||||||
@ -67,6 +65,12 @@
|
|||||||
</j:while>
|
</j:while>
|
||||||
</goal>
|
</goal>
|
||||||
|
|
||||||
|
<goal name="console:set-properties">
|
||||||
|
<util:tokenize var="propertyPieces" delim="=">${goal}</util:tokenize>
|
||||||
|
<log:info>Setting property ${propertyPieces[0]} to ${propertyPieces[1]}</log:info>
|
||||||
|
<j:set var="${propertyPieces[0]}" value="${propertyPieces[1]}" scope="parent" />
|
||||||
|
</goal>
|
||||||
|
|
||||||
<goal name="console:help" description="Print the help message.">
|
<goal name="console:help" description="Print the help message.">
|
||||||
<log:info>
|
<log:info>
|
||||||
The following commands are available:
|
The following commands are available:
|
||||||
|
|||||||
@ -25,6 +25,7 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.2-SNAPSHOT" date="in SVN">
|
<release version="1.2-SNAPSHOT" date="in SVN">
|
||||||
|
<action dev="brett" type="update" issue="MPCONSOLE-10">Split property setting into a separate goal console:set-properties to allow annotation of the properties</action>
|
||||||
<action dev="brett" type="remove">Removed the <code>list</code> command as it hasn't worked as expected since the early betas (goals are lazy loaded into the werkz project)</action>
|
<action dev="brett" type="remove">Removed the <code>list</code> command as it hasn't worked as expected since the early betas (goals are lazy loaded into the werkz project)</action>
|
||||||
<action dev="brett" type="add">Add way to display a property value</action>
|
<action dev="brett" type="add">Add way to display a property value</action>
|
||||||
<action dev="brett" type="update">Improve help</action>
|
<action dev="brett" type="update">Improve help</action>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user