From: Olivier Lamy Date: Thu, 30 Aug 2012 22:17:16 +0000 (+0000) Subject: documentation for skygo :-) X-Git-Tag: archiva-1.4-M3~313 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=66820f094a0db4bde880bcb174e7d94126357e59;p=archiva.git documentation for skygo :-) git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379188 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java index 6895cffbe..a43f6d6e9 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java @@ -247,7 +247,8 @@ public class RepositoryModelResolver String protocol = getProtocol( remoteRepository.getUrl() ); final NetworkProxy networkProxy = this.networkProxyMap.get( remoteRepository.getId() ); - // XXX skygo: look strange to me + // if it's a ntlm proxy we have to lookup the wagon light which support thats + // wagon http client doesn't support that wagon = ( networkProxy != null && networkProxy.isUseNtlm() ) ? wagonFactory.getWagon( "wagon#" + protocol + "-ntlm" ) : wagonFactory.getWagon( "wagon#" + protocol ); wagon = wagonFactory.getWagon( "wagon#" + protocol );