Showing posts with label proxy. Show all posts
Showing posts with label proxy. Show all posts

How to set up proxy for Maven ?

0 comments
When I started using Apache Maven in my company I realized that, because of proxy settings, I couldn't download dependencies from the Internet. Dependencies are really powerful features of Maven, so it would be unreasonable not to use them. I found a solution to set up proxy so that Maven requests could go out my company's network.

I had to perform a few steps in order to set up proxy for Maven:
  1. I had to find Apache Maven settings.xml file.
  2. I had to modify my proxy settings.

How to set up Subversion client proxy ?

0 comments
To set up Subversion proxy go to %APPDATA%\Subversion directory on Windows or to ~/.subversion directory on Linux and edit the servers file. Put the following content to this file (under global section):
[global]
http-proxy-host = proxy.example.com
http-proxy-port = 8080

http-proxy-host is a proxy server (in this example it's proxy.example.com). http-proxy-port is a proxy port (in this example it's 8080). Additionally, you can also set up http-proxy-username and http-proxy-password in the same section, if you wish.