documentation for skygo :-)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379188 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-08-30 22:17:16 +00:00
parent ba0ab8c021
commit 66820f094a
1 changed files with 2 additions and 1 deletions

View File

@ -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 );