Created
September 18, 2020 09:40
-
-
Save ucguy4u/6b45fcbde0ee28686d23401171a627d3 to your computer and use it in GitHub Desktop.
To set Maven Proxy : Edit the proxies session in your ~/.m2/settings.xml file. If you cant find the file, create one or Edit the proxies session in your {M2_HOME}/conf/settings.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<settings> | |
<proxies> | |
<proxy> | |
<id>httpproxy</id> | |
<active>true</active> | |
<protocol>http</protocol> | |
<host>your-proxy-host</host> | |
<port>your-proxy-port</port> | |
<nonProxyHosts>local.net|some.host.com</nonProxyHosts> | |
</proxy> | |
<proxy> | |
<id>httpsproxy</id> | |
<active>true</active> | |
<protocol>https</protocol> | |
<host>your-proxy-host</host> | |
<port>your-proxy-port</port> | |
<nonProxyHosts>local.net|some.host.com</nonProxyHosts> | |
</proxy> | |
</proxies> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment