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@905425 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1df9413fd4
commit
7d8835762c
|
@ -61,6 +61,8 @@ public class DefaultPluginVersionResolver
|
|||
public PluginVersionResult resolve( PluginVersionRequest request )
|
||||
throws PluginVersionResolutionException
|
||||
{
|
||||
logger.debug( "Resolving plugin version for " + request.getGroupId() + ":" + request.getArtifactId() );
|
||||
|
||||
DefaultPluginVersionResult result = new DefaultPluginVersionResult();
|
||||
|
||||
Metadata mergedMetadata = new Metadata();
|
||||
|
@ -153,6 +155,13 @@ public class DefaultPluginVersionResolver
|
|||
"Plugin not found in any plugin repository" );
|
||||
}
|
||||
|
||||
if ( logger.isDebugEnabled() )
|
||||
{
|
||||
logger.debug( "Resolved plugin version for " + request.getGroupId() + ":" + request.getArtifactId()
|
||||
+ " to " + result.getVersion() + " from repository "
|
||||
+ ( result.getRepository() != null ? result.getRepository().getId() : "null" ) );
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue