mirror of https://github.com/apache/maven.git
[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:
parent
1be90a985a
commit
9e99fe5e65
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue