[MNG-6914] rename MAVEN_LAUNCHER to LAUNCHER_CLASS (from LAUNCHER_JAR)

This commit is contained in:
Hervé Boutemy 2021-10-10 20:07:36 +02:00 committed by Hervé Boutemy
parent bb0fed9f40
commit bf59026554
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 "$@"

View File

@ -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