You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 06:02:19 UTC

[jira] Updated: (MNG-3785) Allow properties parameter to be a properties file

     [ http://jira.codehaus.org/browse/MNG-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3785:
------------------------------

    Fix Version/s: 3.x

would require a plexus converter if we were to allow it.

> Allow properties parameter to be a properties file
> --------------------------------------------------
>
>                 Key: MNG-3785
>                 URL: http://jira.codehaus.org/browse/MNG-3785
>             Project: Maven 2
>          Issue Type: Improvement
>            Reporter: Marvin Froeder
>            Priority: Minor
>             Fix For: 3.x
>
>
> 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 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