You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2014/01/19 22:09:49 UTC
[jira] (MNG-525) Need a way to reference a config property from
another property using the expression language in a mojo
[ https://jira.codehaus.org/browse/MNG-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-525.
-----------------------------
Resolution: Incomplete
> Need a way to reference a config property from another property using the expression language in a mojo
> -------------------------------------------------------------------------------------------------------
>
> Key: MNG-525
> URL: https://jira.codehaus.org/browse/MNG-525
> Project: Maven 2 & 3
> Issue Type: Task
> Components: Plugins and Lifecycle
> Affects Versions: 2.0-alpha-3
> Reporter: Vincent Massol
> Fix For: Issues to be reviewed for 3.x
>
>
> Example:
> /**
> * @parameter
> * @required
> */
> private String cloverOutputDirectory;
> /**
> * @parameter expression="${cloverOutputDirectory}/clover.db"
> * @required
> */
> private String cloverDatabase;
> I'd like that the cloverDatabase variable gets set to ${cloverOutputDirectory}/clover.db
> ATM the value is null/clover.db even though cloverOutputDirectory get sets to a non-null value
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira