[MNG-4818] NPE in legacy.DefaultWagonManager.getArtifact

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@998861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-09-20 09:57:38 +00:00
parent 1be90a985a
commit 9e99fe5e65
1 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,9 @@ public class DefaultWagonManager
implements WagonManager
{
// NOTE: This must use a different field name than in the super class or IoC has no chance to inject the loggers
@Requirement
private Logger logger;
private Logger log;
@Requirement
private LegacySupport legacySupport;
@ -169,7 +170,7 @@ public class DefaultWagonManager
id = repository.getId();
}
logger.debug( "Using mirror: " + mirror.getUrl() + " (id: " + id + ")" );
log.debug( "Using mirror: " + mirror.getUrl() + " (id: " + id + ")" );
repository = artifactRepositoryFactory.createArtifactRepository( id, mirror.getUrl(),
repository.getLayout(), repository.getSnapshots(),