Re: MAVEN_OPTS on Windows does not behave correctly

2024-01-28 Thread Alexander Kriegisch
It is not a Maven problem, but a shell usage one. UNIX-like shells like Git Bash: export MAVEN_OPTS="-Doption1=value1 -Doption2=value2" Windows Cmd.exe: set MAVEN_OPTS=-Doption1=value1 -Doption2=value2 Just do not use the double quotes there. They are used for arguments which actually contain

MAVEN_OPTS on Windows does not behave correctly

2024-01-28 Thread Siddharth Jain
Hello, I have: >mvn -v Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: C:\Program Files\apache-maven-3.9.6 Java version: 21.0.2, vendor: Oracle Corporation, runtime: C:\Program Files\jdk-21.0.2 Default locale: en_US, platform encoding: UTF-8 OS name: "windows 11",