Maven
  1. Maven
  2. MNG-2738

1-char profile names cannot be activated with -P

    Details

    • Type: Bug Bug
    • Status: 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

      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

        Kenney Westerhof created issue -
        Jason van Zyl made changes -
        Field Original Value New Value
        Fix Version/s Reviewed [ 13555 ]
        Hide
        Brian E. Fox added a comment -

        This is a bug in the apache commons GnuParser:

                    CommandLineParser parser = new GnuParser();
                    return parser.parse( options, cleanArgs );
        
        Show
        Brian E. Fox added a comment - This is a bug in the apache commons GnuParser: CommandLineParser parser = new GnuParser(); return parser.parse( options, cleanArgs );
        Brett Porter made changes -
        Fix Version/s 2.0.x [ 13141 ]
        Fix Version/s Reviewed Pending Version Assignment [ 13555 ]
        Brett Porter made changes -
        Fix Version/s Backlog [ 16138 ]
        Fix Version/s 2.2.x (to be reviewed) [ 13141 ]
        Benjamin Bentmann made changes -
        Fix Version/s 2.2.0 [ 15103 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Fix Version/s 3.x / Backlog [ 16138 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12713284 ] Default workflow, editable Closed status [ 12752987 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12952714 ] Default workflow, editable Closed status [ 12990060 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1432d 8h 47m 1 Benjamin Bentmann 04/Dec/10 17:24

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Kenney Westerhof
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development