Replies: 1 comment 6 replies
-
This is really working! We tried it yesterday on 3 different user machines! Thanks @alick888! |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Need to set multi-release to the correct JDK version, e.g. when using JDK 11, your command should look like this:
mvn clean install -Dmaven.test.skip=true -DskipTests -Djdeps.multiRelease=11
Need additional permission when using JDK 17 or above, export an environment variable as follows:
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED"
Beta Was this translation helpful? Give feedback.
All reactions