Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Maven User
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<h1>Configuring Maven behind an NTLM proxy</h1> <p>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.</p> <p>But you're not lost, since you can use a "proxy-to-the-proxy". You have two choices, <a href="http://cntlm.sourceforge.net/">CNTLM</a> and <a href="http://ntlmaps.sourceforge.net/">NTLM APS</a>.</p> <h2>Using CNTLM </h2> <p><a href="http://cntlm.sourceforge.net/">CNTLM</a> is easy to install and configure. Once installed as reported in the website, configure Maven to work with CNTLM, adding this code in your <strong>settings.xml</strong>.</p> <table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> <settings> <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>127.0.0.1</host> <port>3128</port> </proxy> </proxies> </settings> </pre></td></tr></table> <p>Et voilà! Maven works!</p> <h2>Using NTLM APS</h2> <p>NTLM has a <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1647195&group_id=69259&atid=523935">bug with chunked responses</a>, so you have to patch it, so I suggest to use CNTLM.</p> <p>Anyway, if you want to make NTLM APS work:</p> <ol> <li>download the <a href="http://sourceforge.net/project/showfiles.php?group_id=69259&package_id=134416&release_id=339792">0.9.9.6 version</a> of NTLM APS;</li> <li>patch using <a href="http://sourceforge.net/tracker/download.php?group_id=69259&atid=523935&file_id=214176&aid=1647195">this patch</a>;</li> <li>run the NTLM APS server;</li> <li>configure Maven to work with NTLM APS, adding this code in your <strong>settings.xml</strong>. <table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> <settings> <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>127.0.0.1</host> <port>5865</port> </proxy> </proxies> </settings </pre></td></tr></table></li> </ol>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced