On 2022/10/19 21:38:47 Olivier Lamy wrote:
+1 I only have a small issue. I have this env var MAVEN_OPTS=-Djava.awt.headless=true -client -Xmx2048m -Xms2048m a project has .mvn/jvm.config with -Xmx1100m Maven 3.8.5 does this + exec /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java -Xmx1100m -Djava.awt.headless=true -client -Xmx2048m -Xms2048m -classpath /Users/olamy/softs/maven/apache-maven-3.8.5/boot/plexus-classworlds-2.6.0.jar -Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-3.8.5/bin/m2.conf -Dmaven.home=/Users/olamy/softs/maven/apache-maven-3.8.5 -Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-3.8.5/lib/jansi-native 4.0.0-alpha-2 does this + exec /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java -Djava.awt.headless=true -client -Xmx2048m -Xms2048m -Xmx1100m -classpath /Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/boot/plexus-classworlds-2.6.0.jar -Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/bin/m2.conf -Dmaven.home=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2 -Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/lib/jansi-native which obviously fails
This is intended. Read: * https://cwiki.apache.org/confluence/display/MAVEN/Commandline+inheritance * https://issues.apache.org/jira/browse/MNG-7206 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org