You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:18 UTC
[jira] (MNG-3785) Allow properties parameter to be a properties
file
[ https://jira.codehaus.org/browse/MNG-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-3785:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> Allow properties parameter to be a properties file
> --------------------------------------------------
>
> Key: MNG-3785
> URL: https://jira.codehaus.org/browse/MNG-3785
> Project: Maven
> Issue Type: Improvement
> Reporter: Marvin Froeder
> Priority: Minor
>
> Right now, when I have a properties parameter:
> /**
> * My Properties.
> *
> * @parameter
> */
> private Properties myProperties;
> I configure it like this:
> <myProperties>
> <property>
> <name>propertyName1</name>
> <value>propertyValue1</value>
> <property>
> <property>
> <name>propertyName2</name>
> <value>propertyValue2</value>
> <property>
> </myProperties>
> Would be cool it I can use a file instead of describing all properties:
> <myProperties>${basedir}/myconfigs.properties</myProperties>
> VELO
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)