Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Configuring Maven behind an NTLM proxy

Maven, by itself, cannot work behind an NTLM proxy (e.g. ISA servers), because this kind of HTTP connection is not supported... at least directly.

But you're not lost, since you can use a "proxy-to-the-proxy". You have two choices, CNTLM and  NTLM APS.

Using CNTLM 

CNTLM is easy to install and configure. Once installed as reported in the website, configure Maven to work with CNTLM, adding this code in your settings.xml.

Et voilà! Maven works!

Using NTLM APS

NTLM has a bug with chunked responses, so you have to patch it, so I suggest to use CNTLM.

Anyway, if you want to make NTLM APS work:

  1. download the 0.9.9.6 version of NTLM APS;
  2. patch using this patch;
  3. run the NTLM APS server;
  4. configure Maven to work with NTLM APS, adding this code in your settings.xml.
  • No labels