[ https://issues.apache.org/jira/browse/MNG-8104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17840033#comment-17840033 ]
Patrick Mackinlay commented on MNG-8104: ---------------------------------------- Its a vanilla install of maven 3.9.6, with the ~/.m2 directory completely cleared and the settings containing just one http proxy (can't show the details of the corp network, but its just a regular http proxy). Nothing else, no extensions, no other plugins. Note that the mvn dependency:get command is run from an empty directory, so no pom is read (hence no plugins/extension ..). The problem is as simple as the proxy settings are completely ignored for dependencies. > proxy settings ignored for dependencies > --------------------------------------- > > Key: MNG-8104 > URL: https://issues.apache.org/jira/browse/MNG-8104 > Project: Maven > Issue Type: Bug > Components: Core > Affects Versions: 3.9.6 > Reporter: Patrick Mackinlay > Priority: Major > > The proxy settings are ignored for dependencies in maven 3.9.6 (working in > 3.9.2). > On a machine with no direct internet access, if you clear your local > repository with a command like: > rm -rf ~/.m2/repository/org/apache/maven/maven-core/2.2.1 > and then try and download the dependency: > mvn dependency:get -DgroupId=org.apache.maven -DartifactId=maven-core > -Dversion=2.2.1 > > It will fail. The proxy settings are ignored. However, it should be noted > that for plugins they are used, its only for dependencies that they are > ignored. > maven version 3.9.2 works, so looks like this was introduced in 3.9.3 > probably when the dependency plugin version was upgraded. > > I used a minimal settings.xml with just one proxy entry. -- This message was sent by Atlassian Jira (v8.20.10#820010)