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.
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.
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>127.0.0.1</host>
<port>3128</port>
</proxy>
</proxies>
</settings>
|
Et voilà! Maven works!
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:
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>127.0.0.1</host>
<port>5865</port>
</proxy>
</proxies>
</settings
|