cancel
Showing results for 
Search instead for 
Did you mean: 

Maven not fetching activiti jars - NTLM authentication error

rangoo
Champ in-the-making
Champ in-the-making
POM.xml used is http://activitiinaction.googlecode.com/svn/trunk/bpmn-examples/pom.xml

Following is the error:

Downloading: https://maven.alfresco.com/nexus/content/groups/public/org/activiti/activiti-engine/5.9/activiti-eng...
Sep 27, 2012 5:38:01 PM org.apache.maven.wagon.providers.http.httpclient.client.protocol.RequestProxyAuthentication process
SEVERE: Proxy authentication error: Credentials cannot be used for NTLM authentication: org.apache.maven.wagon.providers.http.httpclient.auth.UsernamePasswordCredentials
Downloading: https://maven.alfresco.com/nexus/content/groups/public/org/activiti/activiti-spring/5.9/activiti-spr...
Sep 27, 2012 5:38:01 PM org.apache.maven.wagon.providers.http.httpclient.client.protocol.RequestProxyAuthentication process
]SEVERE: Proxy authentication error: Credentials cannot be used for NTLM authentication: org.apache.maven.wagon.providers.http.httpclient.auth.UsernamePasswordCredentials

Also my settings.xml - is clean except for proxy entry. I tried using domainname/username and only user name. No Luck Smiley Sad. BTW -  I am using Maven 3.0.4


<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<proxies>
        <proxy>
            <id>ihc-proxy</id>
            <active>true</active>
            <protocol>http</protocol>
            <host>proxy.XXX.com</host>
            <port>8080</port>  
       <username>co.XXX.com/myname</username>
            <password>password</password>
            <nonProxyHosts>*.XXX.com|localhost</nonProxyHosts>
        </proxy>
    </proxies>
</settings>
7 REPLIES 7

frederikherema1
Star Contributor
Star Contributor
Seems like a mis-configuration of your maven settings. Can you access other repositories through your maven proxy?

rangoo
Champ in-the-making
Champ in-the-making
Yeah, I was able to download from other repos. It is just alfresco repos I am not able to download. Also my maven settings file is clean as you can see. I use maven for other projects , but never had this issue.

frederikherema1
Star Contributor
Star Contributor
That's really strange. The alfresco maven is just a plain old nexus install and AFAIK with no customizations than could explain this kind of behavior.

Are you using the http:// or https:// repository location?

rangoo
Champ in-the-making
Champ in-the-making
I tried both but no luck.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Maybe an internal proxy?

rangoo
Champ in-the-making
Champ in-the-making
Yeah, it seems to be the case. I tried from home ntwk, I had no issues.

jbarrez
Star Contributor
Star Contributor
Yup, NTLM =  windows network single sign on (had to do a project once with it long time ago - Ugh!).

Probably a strict proxy