Hi Jojo, The bad news is that Maven 2 does not support NTLM authentication by default. There are various strategies proposed in the mailing lists, but the one I would try is to see if you can activate JDK proxy support (I am assuming you are using a Sun JDK here). The ominous line can be found here: http://maven.apache.org/guides/mini/guide-proxies.html and states:
"Please note that urrently NTLM proxies are not supported as they have not been tested. You may be able to use the relevant system properties on JDK 1.4+ to make this work." I have not done this myself, so can only suggest some things to try. First off try appending the domain name in front of the username in settings.xml: <domain>\<username>. If the former does not work try the following: 1) remove all the proxy settings from settings.xml. 2) Set the MAVEN_OPTS environment variable with the values listed here http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html that apply to your proxy. So something like: set MAVEN_OPTS=-Dhttp.proxyHost=<hostname> -Dhttp.proxyPort=<proxy_port> - Dhttp.nonProxyHosts=<non_proxy_hosts> -Dhttp.proxyUsername=<domain>\<username> -Dhttp.proxyPassword=<password> -Dhttp.auth.ntlm.domain=<domain> And then run mvn as normal Good luck! ;-) Mike. On 3/29/07, Jojo Paderes <[EMAIL PROTECTED]> wrote:
Hi Mike, Is there a way we can configure Maven to work with proxy servers that use NTLM authentication? Possibly using JCIFS along with Maven http://jcifs.samba.org For the meantime, we can just download the dependencies needed to generate the AppFuse project. Best regards, Jojo On 3/27/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > Nigel, > > I also run Maven on a windows box through a proxy, but without issue. Does > your proxy do anything fancy like NTLM authentication? If so that could be > an issue. One way to get an idea of what is going on is to run Maven in > debug and pipe the output to a log: > > mvn -X install > mvn.log > > And post the log file on this thread for us to have a look at? > > Thanks > > Mike. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
