Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.9.0
-
Linux and Mac
Description
Setting `-Dmaven.wagon.http.ssl.insecure=true` via `.mvn/jvm.config` does not work with v3.9.0, but works with v3.8.7. i.e. when executing `./mvnw org.apache.maven.plugins:maven-dependency-plugin:3.5.0:go-offline`.
I've got a minishift instance running jenkins, with agents created on demand. I've got a nexus with a self signed certificate and for simpler out of the box Jenkins agents I'm happy for it to ignore the nexus certificate error. So Jenkins uses config-file-provider plugin to provide `jvm.config` and for builds to ignore certificate issues.
Not sure if maven has;
- stopped reading `.mvn/jvm.config`
- stoped allowing multiple line `.mvn/jvm.config`
- not setting System properties as defined in `.mvn/jvm.config`
- wagon upgrade has introduced bug or new config
Attachments
Issue Links
- is duplicated by
-
MNG-7687 Ignoring SSL using -Dmaven.wagon.http.ssl.insecure=true not working on 3.9.0
- Closed
-
MNG-7694 Maven 3.9.0 switched to HttpTransporter from WagonTransporter, breaking downloads from server using self-signed SSL-certs
- Closed
- is fixed by
-
MRESOLVER-328 The transport-http should be able to ignore cert errors
- Closed
-
MNG-7715 Upgrade to Maven Resolver 1.9.6
- Closed