Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-720

short commandline options are not parsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.0-beta-1
    • None
    • Plugins and Lifecycle
    • None

    Description

      The short commandline options displayed in the usage of m2 --help don't get parsed:

      m2 -npl install
      Unable to parse command line options: Unrecognized option: -n

      usage: maven [options] [goal [goal2 [goal3] ...]]

      I've checked commons-cli and there's a fix for this in cvs/svn:

      http://cvs.apache.org/viewcvs.cgi/jakarta-commons/cli/src/java/org/apache/commons/cli/PosixParser.java
      see version 1.16 comments.

      I've tried bumping commons-cli to 1.0, but this fix apparently isn't in there.

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              kenney Kenney Westerhof
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: