[ 
http://jira.codehaus.org/browse/MNG-2738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110907
 ] 

Brian Fox commented on MNG-2738:
--------------------------------

This is a bug in the apache commons GnuParser:

{noformat}
            CommandLineParser parser = new GnuParser();
            return parser.parse( options, cleanArgs );
{noformat}

> 1-char profile names cannot be activated with -P
> ------------------------------------------------
>
>                 Key: MNG-2738
>                 URL: http://jira.codehaus.org/browse/MNG-2738
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 2.0-alpha-1
>            Reporter: Kenney Westerhof
>            Priority: Minor
>             Fix For: Reviewed Pending Version Assignment
>
>
> 'mvn install -Uc' gives;
> {noformat}
> Unable to parse command line options: no argument for:P
> usage: mvn [options] [<goal(s)>] [<phase(s)>]
> Options:
> ...etc...
> {noformat}
> (same for mvn -Pc [whatever])

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

        

Reply via email to