artifactory-maven-plugin
artifactory-maven-plugin copied to clipboard
Ignores nonProxyHosts from settings.xml
Describe the bug
The proxy support merged with #64 and included in release 3.6.0 ignores the <nonProxyHosts>
setting from settings.xml
Current behavior
Plugin does not consider proxy exceptions when connecting to Artifactory.
Reproduction steps
- Consider this settings in Maven's
settings.xml
:
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>proxy.corp.bogus</host>
<port>80</port>
<nonProxyHosts>localhost*|127.0.0.1|*.corp.bogus</nonProxyHosts>
</proxy>
- Try to reach an Artifactory server at
artifactory.corp.bogus
- The plugin tries to connect to the Artifactory server through the proxy and fails
Expected behavior
Plugin should consider proxy exceptions when connecting to Artifactory.
Artifactory Maven plugin version
3.6.0
Operating system type and version
N/A
JFrog Artifactory version
No response
Maven version
3.9.1
We have the same issue with the plugin due to the fact that is does not handle nonProxyHosts in settings.xml in setupProxy.
any news about this issue?
Same issue here. Any news or workaround?