Maven does not download the link
librariesI'm trying to download the maven repository to create a Java application. If I do it from home it works because I do not have a proxy, if I do it from the company it does not download even if I configure the proxy in settings.xml.
I identified the proxy to connect to the Internet: IE - > Internet options - > Connections - > LAN settings
*** In my case the Connections tab was disabled and enabled from the registry: regedit - > Computer \ HKEY_LOCAL_MACHINE \ SOFTWARE \ Polices \ Microsoft \ Internet Explorer \ Control Panel \ - > ConnectionsTab = 0
Modified the file $ {user.home} / .m2 / settings.xml to include the proxy and port:
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>[user]</username>
<password>[password]</password>
<host>[proxy]</host>
<port>8080</port>
<nonProxyHosts>localhost</nonProxyHosts>
</proxy>
When executing any maven command it shows me the error:
[WARNING] NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))
[WARNING] NTLM authentication error: Credentials can not be used for NTLM authentication: org.apache.maven.wagon.providers.http.httpclient.auth.UsernamePasswordCredentials
4.I tried to pass the proxy data by parameter but it still does not work:
set MAVEN_OPTS="-DsocksProxyHost=[proxy] -DsocksProxyPort=8080"
Maven I execute from command line and from eclipse. I already consulted several post of stack and several suggest to put the proxy well and change the file eclipse.ini with this:
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors = org.eclipse.ecf.provider.filetransfer.httpclient4
However, it still does not work. Any suggestions are welcome.