You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2015/10/06 23:49:27 UTC

[jira] [Commented] (MNG-5681) Properties on command line with leading or trailing quotes are stripped

    [ https://issues.apache.org/jira/browse/MNG-5681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945894#comment-14945894 ] 

Karl Heinz Marbaise commented on MNG-5681:
------------------------------------------

My original assumption was wrong. After taking a deeper look into that i have found that the cleanArgs() method in CLIManager is the culprit...

> Properties on command line with leading or trailing quotes are stripped
> -----------------------------------------------------------------------
>
>                 Key: MNG-5681
>                 URL: https://issues.apache.org/jira/browse/MNG-5681
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.0.5, 3.1.1, 3.2.1, 3.2.3
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>
> The current problem is a command line like this:
> {code}
> mvn -Dtest=\"anton\" clean package
> {code}
> 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|https://issues.apache.org/jira/browse/CLI-185].
> This should be postponed until commons-cli 1.3 will be released.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)