Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
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
-
None
-
None
-
Patch
Description
Class MavenCommandLineBuilder adds system properties with spaces.
For example, given the following properties:
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"