You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2015/03/14 22:51:18 UTC

[jira] (MSHARED-141) MavenCommandLineBuilder incorrectly adds system properties

     [ https://jira.codehaus.org/browse/MSHARED-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MSHARED-141.
----------------------------------

    Resolution: Won't Fix
      Assignee: Robert Scholte

> MavenCommandLineBuilder incorrectly adds system properties
> ----------------------------------------------------------
>
>                 Key: MSHARED-141
>                 URL: https://jira.codehaus.org/browse/MSHARED-141
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-invoker
>    Affects Versions: maven-invoker-2.0.7, maven-invoker-2.0.8, maven-invoker-2.0.9, maven-invoker-2.0.10, maven-invoker-2.0.11
>            Reporter: Andrei Solntsev
>            Assignee: Robert Scholte
>            Priority: Minor
>         Attachments: MSHARED-141-maven-invoker.patch
>
>
> Class MavenCommandLineBuilder adds system properties with spaces.
> For example, given the following properties: {skipTests=true, listScmChanges=}
> MavenCommandLineBuilder generates the following command line:
> cmd.exe /X /C "C:\Programs\apache-maven-2.2.1\bin\mvn.bat -B -N -e -D skipTests=true -D listScmChanges="
> The correct form is without spaces: "-DskipTests=true -DlistScmChanges"



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)