You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Patrick (Jira)" <ji...@apache.org> on 2023/02/06 21:26:00 UTC

[jira] [Created] (MNG-7685) Unable to ignore certificate errors with v3.9.0

John Patrick created MNG-7685:
---------------------------------

             Summary: Unable to ignore certificate errors with v3.9.0
                 Key: MNG-7685
                 URL: https://issues.apache.org/jira/browse/MNG-7685
             Project: Maven
          Issue Type: Bug
          Components: Core
    Affects Versions: 3.9.0
         Environment: Linux and Mac
            Reporter: John Patrick


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)