From 3568227eef23bd40fcecb2653849b30db5d0edb3 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Fri, 2 Apr 2010 09:26:57 +0000 Subject: [PATCH] o Extended debug logging git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930204 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/repository/legacy/DefaultWagonManager.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java b/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java index 0672131851..b1222e74a7 100644 --- a/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java +++ b/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java @@ -222,6 +222,12 @@ public class DefaultWagonManager private void connectWagon( Wagon wagon, ArtifactRepository repository ) throws ConnectionException, AuthenticationException { + if ( repository.getProxy() != null && logger.isDebugEnabled() ) + { + logger.debug( "Using proxy " + repository.getProxy().getHost() + ":" + repository.getProxy().getPort() + + " for " + repository.getUrl() ); + } + if ( repository.getAuthentication() != null && repository.getProxy() != null ) { wagon.connect( new Repository( repository.getId(), repository.getUrl() ), authenticationInfo( repository ),