[
http://jira.codehaus.org/browse/MGROOVY-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Dillon closed MGROOVY-121.
--------------------------------
Resolution: Fixed
Added support for:
* {{project.properties['xxx'] = 'yyy'}}
* {{project.properties.set('xxx', 'yyy')}}
* {{project.properties.setProperty('xxx', 'yyy')}}
This allows the pom's properties to be changed and used in any execution.
> Allow manipulating properties (access to the real project object) in
> 'execute'
> -------------------------------------------------------------------------------
>
> Key: MGROOVY-121
> URL: http://jira.codehaus.org/browse/MGROOVY-121
> Project: GMaven
> Issue Type: Improvement
> Components: execute
> Reporter: Ittay Dror
> Assignee: Jason Dillon
> Fix For: 1.0-rc-3
>
>
> Maven is lacking scripting to set up properties. It would be good if the
> groovy 'execute' goal could manipulate project properties (meaning, set them
> back in the project object).
> Right now, the 'project' object in the execution context of the groovy code
> is a clone of the actual project.
> To overcome this, simplest is to just add 'mavenProject' to the context which
> references the real project.
--
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 from this list, please visit:
http://xircles.codehaus.org/manage_email