jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-2738

1-char profile names cannot be activated with -P

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0-alpha-1
  • Fix Version/s: 2.2.0
  • Component/s: Command Line
  • Labels:
    None
  • Complexity:
    Intermediate
  • Testcase included:
    yes

Description

'mvn install -Uc' gives;

Unable to parse command line options: no argument for:P

usage: mvn [options] [<goal(s)>] [<phase(s)>]

Options:
...etc...

(same for mvn -Pc [whatever])

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brian Fox added a comment - 22/Oct/07 8:42 PM

This is a bug in the apache commons GnuParser:

            CommandLineParser parser = new GnuParser();
            return parser.parse( options, cleanArgs );
Show
Brian Fox added a comment - 22/Oct/07 8:42 PM This is a bug in the apache commons GnuParser:
            CommandLineParser parser = new GnuParser();
            return parser.parse( options, cleanArgs );

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Kenney Westerhof
Vote (0)
Watch (0)

Dates

  • Created:
    02/Jan/07 8:37 AM
    Updated:
    04/Dec/10 5:24 PM
    Resolved:
    04/Dec/10 5:24 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.