Skip to content

Commit 1528cbf

Browse files
committed
Adding missing diff
1 parent 72585f0 commit 1528cbf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apache-maven/src/assembly/maven/bin/mvn

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ fi
181181
exec "$JAVACMD" \
182182
$MAVEN_OPTS \
183183
$MAVEN_DEBUG_OPTS \
184+
--enable-native-access=ALL-UNNAMED \
184185
-classpath "$LAUNCHER_JAR" \
185186
"-Dclassworlds.conf=$CLASSWORLDS_CONF" \
186187
"-Dmaven.home=$MAVEN_HOME" \

apache-maven/src/assembly/maven/bin/mvn.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ if not exist "%JAVACMD%" (
6969
echo The java.exe command does not exist in PATH nor is JAVA_HOME set, so Apache Maven cannot be started. >&2
7070
goto error
7171
)
72-
7372
:chkMHome
7473
set "MAVEN_HOME=%~dp0"
7574
set "MAVEN_HOME=%MAVEN_HOME:~0,-5%"
@@ -178,6 +177,7 @@ set LAUNCHER_CLASS=org.codehaus.plexus.classworlds.launcher.Launcher
178177
"%JAVACMD%" ^
179178
%MAVEN_OPTS% ^
180179
%MAVEN_DEBUG_OPTS% ^
180+
--enable-native-access=ALL-UNNAMED ^
181181
-classpath %LAUNCHER_JAR% ^
182182
"-Dclassworlds.conf=%CLASSWORLDS_CONF%" ^
183183
"-Dmaven.home=%MAVEN_HOME%" ^

0 commit comments

Comments
 (0)