mirror of https://github.com/apache/maven.git
[MNG-6914] rename MAVEN_LAUNCHER to LAUNCHER_CLASS (from LAUNCHER_JAR)
This commit is contained in:
parent
bb0fed9f40
commit
bf59026554
|
@ -1,3 +1,3 @@
|
|||
LAUNCHER_JAR=`echo "$MAVEN_HOME"/boot/plexus-classworlds-*.jar`
|
||||
MAVEN_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
|
||||
LAUNCHER_CLASS=org.codehaus.plexus.classworlds.launcher.Launcher
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
for %%i in ("%MAVEN_HOME%"\boot\plexus-classworlds-*) do set LAUNCHER_JAR="%%i"
|
||||
set MAVEN_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
|
||||
set LAUNCHER_CLASS=org.codehaus.plexus.classworlds.launcher.Launcher
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
LAUNCHER_JAR="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar"
|
||||
MAVEN_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||
LAUNCHER_CLASS=org.apache.maven.wrapper.MavenWrapperMain
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
set LAUNCHER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
|
||||
set MAVEN_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||
set LAUNCHER_CLASS=org.apache.maven.wrapper.MavenWrapperMain
|
||||
|
||||
|
|
|
@ -16,4 +16,4 @@ exec "$JAVACMD" \
|
|||
"-Dmaven.home=$MAVEN_HOME" \
|
||||
"-Dlibrary.jansi.path=${MAVEN_HOME}/lib/jansi-native" \
|
||||
"-Dmaven.multiModuleProjectDirectory=$MAVEN_PROJECTBASEDIR" \
|
||||
$MAVEN_LAUNCHER "$@"
|
||||
$LAUNCHER_CLASS "$@"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"-Dmaven.home=%MAVEN_HOME%" ^
|
||||
"-Dlibrary.jansi.path=%MAVEN_HOME%\lib\jansi-native" ^
|
||||
"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
|
||||
%MAVEN_LAUNCHER% %*
|
||||
%LAUNCHER_CLASS% %*
|
||||
if ERRORLEVEL 1 goto error
|
||||
goto end
|
||||
|
||||
|
|
Loading…
Reference in New Issue