You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marvin Froeder (JIRA)" <ji...@codehaus.org> on 2008/10/28 18:26:51 UTC
[jira] Updated: (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 ]
Marvin Froeder updated MNG-3807:
--------------------------------
Description:
My plugin has a configuration like this:
{quote}
/**
* My Properties.
*
* @parameter
*/
private Properties myProperties;
{quote}
When I configure like this:
{quote}
<myProperties>
<property>
<name>propertyName1</name>
<value>${buildnumber}</value> <!-- property injected on maven properties by http://mojo.codehaus.org/buildnumber-maven-plugin/ -->
<property>
</myProperties>
{quote}
Maven doesn't interpolate the buildnumber. But the value is available at project.getProperties().
was:
My plugin has a configuration like this:
/**
* My Properties.
*
* @parameter
*/
private Properties myProperties;
When I configure like this:
<myProperties>
<property>
<name>propertyName1</name>
<value>${buildnumber}</value> <!-- property injected on maven properties by http://mojo.codehaus.org/buildnumber-maven-plugin/ -->
<property>
</myProperties>
Maven doesn't interpolate the buildnumber. But the value is available at project.getProperties().
> 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
> Reporter: Marvin Froeder
>
> My plugin has a configuration like this:
> {quote}
> /**
> * My Properties.
> *
> * @parameter
> */
> private Properties myProperties;
> {quote}
> When I configure like this:
> {quote}
> <myProperties>
> <property>
> <name>propertyName1</name>
> <value>${buildnumber}</value> <!-- property injected on maven properties by http://mojo.codehaus.org/buildnumber-maven-plugin/ -->
> <property>
> </myProperties>
> {quote}
> 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