You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2011/02/12 16:48:22 UTC

[jira] Created: (MNG-5011) Allow to configure array/collection type plugin parameters via system properties

Allow to configure array/collection type plugin parameters via system properties
--------------------------------------------------------------------------------

                 Key: MNG-5011
                 URL: http://jira.codehaus.org/browse/MNG-5011
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Command Line, Plugins and Lifecycle
    Affects Versions: 3.0.2
            Reporter: Benjamin Bentmann
            Priority: Minor


It would be helpful for plugin authors and users if Maven could configure collections/arrays from comma-separated property values, e.g.
{noformat}
mvn -Dincludes=*Foo,*Bar,whatever/** goal
{noformat}
This allows plugin authors to consequently use the proper data type for parameters and avoids doing manual string splitting to please the user's occasional need to configure a parameter from the command line.

-- 
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] Closed: (MNG-5011) Allow to configure array/collection type plugin parameters via system properties

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-5011.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.3
         Assignee: Benjamin Bentmann

Done in [r1070102|http://svn.apache.org/viewvc?view=revision&revision=1070102].

> Allow to configure array/collection type plugin parameters via system properties
> --------------------------------------------------------------------------------
>
>                 Key: MNG-5011
>                 URL: http://jira.codehaus.org/browse/MNG-5011
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Command Line, Plugins and Lifecycle
>    Affects Versions: 3.0.2
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0.3
>
>
> It would be helpful for plugin authors and users if Maven could configure collections/arrays from comma-separated property values, e.g.
> {noformat}
> mvn -Dincludes=*Foo,*Bar,whatever/** goal
> {noformat}
> This allows plugin authors to consequently use the proper data type for parameters and avoids doing manual string splitting to please the user's occasional need to configure a parameter from the command line.

-- 
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