mirror of https://github.com/apache/maven.git
MNG-86. Fix bootstrap failures when M2_HOME contains spaces.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163167 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b1b7930761
commit
c894f62970
|
@ -101,7 +101,7 @@ goto Win9xApp
|
|||
@REM Reaching here means variables are defined and arguments have been captured
|
||||
:endInit
|
||||
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
||||
SET MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% -Dmaven.home=%M2_HOME%
|
||||
SET MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% -Dmaven.home="%M2_HOME%"
|
||||
|
||||
@REM Build MBoot2
|
||||
cd maven-mboot2
|
||||
|
|
|
@ -20,5 +20,5 @@
|
|||
@REM NOTE: for simplicity, only Windows NT/2000/XP is current supported
|
||||
@REM This also assumes that M2_HOME and JAVA_HOME are set, which are verified in the bootstrap script only
|
||||
|
||||
%JAVA_HOME%\bin\java.exe %* -Dmaven.home=%M2_HOME% -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier
|
||||
%JAVA_HOME%\bin\java.exe %* -Dmaven.home="%M2_HOME%" -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier
|
||||
|
||||
|
|
Loading…
Reference in New Issue