Created
February 9, 2018 11:11
-
-
Save abdulhadad/95c432f733bd279f92d2cf0eafc78d81 to your computer and use it in GitHub Desktop.
Maven proxy settings, .m2\settings.xml file
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
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | |
https://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<proxies> | |
<proxy> | |
<id>myhttpproxy</id> | |
<active>true</active> | |
<protocol>http</protocol> | |
<host>proxy.somewhere.com</host> | |
<port>8080</port> | |
<username>proxyuser</username> | |
<password>somepassword</password> | |
<nonProxyHosts>*.google.com|ibiblio.org</nonProxyHosts> | |
</proxy> | |
<proxy> | |
<id>myhttpsproxy</id> | |
<active>true</active> | |
<protocol>https</protocol> | |
<host>proxy.somewhere.com</host> | |
<port>8080</port> | |
<username>proxyuser</username> | |
<password>somepassword</password> | |
<nonProxyHosts>*.google.com|ibiblio.org</nonProxyHosts> | |
</proxy> | |
</proxies> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment