Maven Proxy setting issues for NTLM Proxy Users

Follow the following steps and the problem would be resolved.

1. Download and install cNTLM for windows.
2. Configure cNTLM as shown below:

  • Open cntlm.ini configuration file.








  • Configure cntlm.ini file



  • Set user name.
  • Set domain name
  • Set user's password.
  • Set Proxy IP and Port.
  • Note down Listen port to set in maven's settings.xml file.
  • Now save and close cntlm.ini file.


3. Open maven settings.xml file and set proxy settings as follows:
    <settings>
       <proxies>
             <proxy>
                    <active>true</active>
                    <protocol>http</protocol>
                    <host>127.0.0.1</host>
                    <port>3128</port>
                    <username></username>
                   <password></password>
                   <nonProxyHosts></nonProxyHosts>
            </proxy>
      </proxies>
  </settings>

save and close settings.xml file.

Now your maven is configure and will be in working position. :)

Comments

Popular posts from this blog

Data Bound Controls in ASP.Net - Part 4 (FormView and DetailsView controls)

ASP.net: HttpHandlers

The Clickjacking attack and X-Frame-Options