You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/10/26 13:59:26 UTC
[jira] Closed: (MNG-3807) Maven is not interpolatin Properties at
plugin configuration
[ http://jira.codehaus.org/browse/MNG-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-3807.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.3.x)
3.0-alpha-3
Assignee: Benjamin Bentmann
Fixed in [r829780|http://svn.apache.org/viewvc?view=revision&revision=829780].
> Maven is not interpolatin Properties at plugin configuration
> ------------------------------------------------------------
>
> Key: MNG-3807
> URL: http://jira.codehaus.org/browse/MNG-3807
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0.9, 2.1.0-M1
> Reporter: Marvin Froeder
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
>
> My plugin has a configuration like this:
> {noformat}
> /**
> * My Properties.
> *
> * @parameter
> */
> private Properties myProperties;
> {noformat}
> When I configure like this:
> {noformat}
> <myProperties>
> <property>
> <name>propertyName1</name>
> <value>${buildnumber}</value> <!-- property injected on maven properties by http://mojo.codehaus.org/buildnumber-maven-plugin/ -->
> <property>
> </myProperties>
> {noformat}
> Maven doesn't interpolate the buildnumber. But the value is available at project.getProperties().
--
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