mirror of https://github.com/apache/maven.git
[MNG-2692] fix mvn.bat on windows after classworlds was renamed
Submitted by: Mike Henry git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492063 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
318ec6ac0f
commit
51c6fefb31
|
@ -122,7 +122,7 @@ goto Win9xApp
|
|||
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
||||
|
||||
@REM Start MAVEN2
|
||||
for %%i in ("%M2_HOME%"\core\boot\classworlds-*) do set CLASSWORLDS_JAR="%%i"
|
||||
for %%i in ("%M2_HOME%"\core\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
|
||||
%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" org.codehaus.plexus.classworlds.launcher.Launcher %MAVEN_CMD_LINE_ARGS%
|
||||
if ERRORLEVEL 1 goto error
|
||||
goto end
|
||||
|
|
Loading…
Reference in New Issue