diff options
author | Olivier Lamy <olamy@apache.org> | 2012-08-30 22:17:16 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-08-30 22:17:16 +0000 |
commit | 66820f094a0db4bde880bcb174e7d94126357e59 (patch) | |
tree | 9df8f053555b76f09f56a2cabf1707c3d1f54f2f /archiva-modules | |
parent | ba0ab8c0212e2113291abe2fd58947eb7a42c5f5 (diff) | |
download | archiva-66820f094a0db4bde880bcb174e7d94126357e59.tar.gz archiva-66820f094a0db4bde880bcb174e7d94126357e59.zip |
documentation for skygo :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379188 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); |