Maven
  1. Maven
  2. MNG-2738

1-char profile names cannot be activated with -P

    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
    • Number of attachments :
      0

      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

        Hide
        brianfox brianfox added a comment -

        This is a bug in the apache commons GnuParser:

                    CommandLineParser parser = new GnuParser();
                    return parser.parse( options, cleanArgs );
        
        Show
        brianfox brianfox added a comment - 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
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: