You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrei Solntsev (JIRA)" <ji...@codehaus.org> on 2010/01/13 10:22:55 UTC

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

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

Andrei Solntsev updated MSHARED-141:
------------------------------------

    Attachment: MSHARED-141-maven-invoker.patch

Patch is provided

> MavenCommandLineBuilder incorrectly adds system properties
> ----------------------------------------------------------
>
>                 Key: MSHARED-141
>                 URL: http://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
>            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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira