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.11, maven-invoker 2.0.10, maven-invoker 
2.0.9, maven-invoker 2.0.8, maven-invoker 2.0.7
            Reporter: Andrei Solntsev
            Priority: Minor


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

        

Reply via email to