o Extended debug logging

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921484 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-03-10 17:55:47 +00:00
parent bfaab01874
commit 22585104f6
1 changed files with 5 additions and 0 deletions

View File

@ -370,6 +370,11 @@ public <T> T getConfiguredMojo( Class<T> mojoInterface, MavenSession session, Mo
ClassRealm pluginRealm = pluginDescriptor.getClassRealm();
if ( logger.isDebugEnabled() )
{
logger.debug( "Configuring mojo " + mojoDescriptor.getId() + " from plugin realm " + pluginRealm );
}
// We are forcing the use of the plugin realm for all lookups that might occur during
// the lifecycle that is part of the lookup. Here we are specifically trying to keep
// lookups that occur in contextualize calls in line with the right realm.