Monday, July 30, 2012

How to enable Proxy setting in Maven

Considering that you have installed maven and environment variable M2_HOME is pointing to installation directory of Maven and %M2_MAVEN%/bin is appended to your environment variable %PATH%.

Open setting.xml from %M2_HOME%/conf/settings.xml. 
UnComment following code and add your Proxy Details.


    <!-- proxy
     | Specification for one proxy, to be used in connecting to the network.

Save file. Please note that no restart 

No comments:

Post a Comment