File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
apache-maven/src/assembly/maven/bin Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 181
181
exec " $JAVACMD " \
182
182
$MAVEN_OPTS \
183
183
$MAVEN_DEBUG_OPTS \
184
+ --enable-native-access=ALL-UNNAMED \
184
185
-classpath " $LAUNCHER_JAR " \
185
186
" -Dclassworlds.conf=$CLASSWORLDS_CONF " \
186
187
" -Dmaven.home=$MAVEN_HOME " \
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ if not exist "%JAVACMD%" (
69
69
echo The java.exe command does not exist in PATH nor is JAVA_HOME set, so Apache Maven cannot be started. >& 2
70
70
goto error
71
71
)
72
-
73
72
:chkMHome
74
73
set " MAVEN_HOME = %~dp0 "
75
74
set " MAVEN_HOME = %MAVEN_HOME:~0 ,-5 % "
@@ -178,6 +177,7 @@ set LAUNCHER_CLASS=org.codehaus.plexus.classworlds.launcher.Launcher
178
177
" %JAVACMD% " ^
179
178
%MAVEN_OPTS% ^
180
179
%MAVEN_DEBUG_OPTS% ^
180
+ --enable-native-access=ALL-UNNAMED ^
181
181
-classpath %LAUNCHER_JAR% ^
182
182
" -Dclassworlds.conf=%CLASSWORLDS_CONF% " ^
183
183
" -Dmaven.home=%MAVEN_HOME% " ^
You can’t perform that action at this time.
0 commit comments