maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-5237) Cannot download maven dependencies through NTLM proxy
Date Tue, 03 Sep 2013 19:02:52 GMT

    [ https://jira.codehaus.org/browse/MNG-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=332304#comment-332304
] 

Kristian Rosenvold edited comment on MNG-5237 at 9/3/13 2:02 PM:
-----------------------------------------------------------------

We just had a fix in Wagon (d6a6c6f6e133365ff6a68d06de3ab1bfc0a0484c) that might resolve this
issue also of wagon-http.

I just started a build on CI and an updated snapshot should be available on  https://repository.apache.org/content/groups/snapshots/org/apache/maven/wagon/wagon-http/2.5-SNAPSHOT/
soonish (check timestamp on file!). Copy the http-wagon jar file to the "lib" installation
directory of their maven installation (dont forget to remove the old one)
                
      was (Author: krosenvold):
    We just had a fix in Wagon (d6a6c6f6e133365ff6a68d06de3ab1bfc0a0484c) that might resolve
this issue also of wagon-http.

An updated version does not seem to be available at https://repository.apache.org/content/groups/snapshots/org/apache/maven/wagon/wagon-http/2.5-SNAPSHOT/
yet, but people interested in testing this can build wagon from  source (https://github.com/apache/maven-wagon.git
) and copy the http-wagon jar file to the "lib" installation directory of their maven installation
(dont forget to remove the old one)
                  
> Cannot download maven dependencies through NTLM proxy
> -----------------------------------------------------
>
>                 Key: MNG-5237
>                 URL: https://jira.codehaus.org/browse/MNG-5237
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.0.4
>         Environment: windows xp64 using cygwin
>            Reporter: Niels Mordt-Ostergaard
>            Assignee: Jason van Zyl
>
> Using proxy in settings.xml, I was able to download maven dependencies in 3.0.3, but
this seems to be broken with 3.0.4:
> Proxy definition in settings.xml (hidden ip adress below, but correct proxy ip on my
system):
> {code:xml}  <proxies>
>    <proxy>
>       <id>optional</id>
>       <active>true</active>
>       <protocol>http</protocol>
>       <username></username>
>       <password></password>
>       <host>xxx.xx.xx.xx</host>
>       <port>8080</port>
>       <nonProxyHosts>localhost|127.0.0.1</nonProxyHosts>
>     </proxy>
>   </proxies>{code}
> Output from 3.0.3:
> {noformat}$ mvn -V clean
> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: C:\Program Files\apache-maven-3.0.3
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: no_NO, platform encoding: Cp1252
> OS name: "windows xp", version: "5.2", arch: "amd64", family: "windows"
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building <xxx hidden xxx>
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
> Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
(5 KB at 4.9 KB/sec)
> ..... and so on...
> Output from 3.0.4:
> $ mvn -V clean
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: C:\Program Files\apache-maven-3.0.4
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: no_NO, platform encoding: Cp1252
> OS name: "windows xp", version: "5.2", arch: "amd64", family: "windows"
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building <xxx hidden xxx>
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.390s
> [INFO] Finished at: Fri Feb 03 13:14:35 CET 2012
> [INFO] Final Memory: 5M/490M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies
could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1:
Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to
central (http://repo.maven.apache.org/maven2): Access denied to: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom,
ReasonPhrase:Forbidden. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message