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/09 22:14:51 UTC

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

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


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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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