mirror of https://github.com/apache/maven.git
o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d425e273a1
commit
3568227eef
|
@ -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 ),
|
||||
|
|
Loading…
Reference in New Issue