[ http://jira.codehaus.org/browse/MPCONSOLE-10?page=all ]
Brett Porter closed MPCONSOLE-10:
---------------------------------
Resolution: Fixed
Fix Version: 1.2
> console goal should be broken into two to provide more options
> --------------------------------------------------------------
>
> Key: MPCONSOLE-10
> URL: http://jira.codehaus.org/browse/MPCONSOLE-10
> Project: maven-console-plugin
> Type: Improvement
> Reporter: karan singh malhi
> Assignee: Brett Porter
> Fix For: 1.2
>
>
> In the maven console goal, i propose to extract the code to set properties in
> a separate goal, so that pre/post Goals could be written after the property
> is set using the console. We need to customize the console for the current
> project and need to do some post processing of the property value before we
> can run a goal. If this modification could be made and updated on ibiblio
> ASAP, then it would be nice.
> Below is the current plugin.jelly file:
> <j:when test="${goal.indexOf('=') != '-1'}">
> <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" />
> </j:when>
> I propose to have the following :
> <j:when test="${goal.indexOf('=') != '-1'}">
> <attainGoal name="setProperties"/>
> </j:when>
> <goal name="setProperties">
> <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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]