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

Properties on command line with leading or trailing quotes are stripped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.5, 3.1.1, 3.2.1, 3.2.3
    • 3.3.9
    • Command Line
    • None

    Description

      The current problem is a command line like this:

      mvn -Dtest=\"anton\" clean package
      

      The trailing backslash with the quote is stripped away. This is not the problem of Maven itself. This is a known bug (and fixed) in commons-cli.
      This should be postponed until commons-cli 1.3 will be released.

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            khmarbaise Karl Heinz Marbaise
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: