I am experiencing the following issue in IntelliJ's Maven Runner:
When I specify a trust store via Settings -> Maven Runner -> VM Options
and enter the TrustStore there (I need this for a special plugin), the parameters javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword are passed to the Maven Runner. However, Maven then interprets the parameter as a parameter and I get the following error message:
Caused by: java.nio.file.NoSuchFileException: C:\MyKeystores\my.keystore -Djavax.net.ssl.trustStorePassword=abcd
The call from IntelliJ looks like this:
cmd.exe /c "C:\dev\programs\maven\apache-maven-3.9.9\bin\mvn.cmd -Didea.version=2025.2 "-Dmaven.ext.class.path=C:\Program Files\JetBrains\IntelliJ IDEA\plugins\maven\lib\maven-event-listener.jar" -Djansi.passthrough=true -Dstyle.color=always "-Djavax.net.ssl.trustStore=C:\MyKeystores\my.keystore -Djavax.net.ssl.trustStorePassword=abcd" com.my:super-plugin:1.2.3:generate-stubs"
Any ideas?
maven.use.scriptsoption in Help | Find Action | Registry?