o Extended debug logging

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820484 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-09-30 22:37:23 +00:00
parent 138d7bc9c2
commit f66bbf1172
1 changed files with 10 additions and 0 deletions

View File

@ -165,6 +165,11 @@ public class DefaultProjectBuildingHelper
if ( extensionPlugins.isEmpty() )
{
if ( logger.isDebugEnabled() )
{
logger.debug( "Extension realms for project " + model.getId() + ": (none)" );
}
return new ProjectRealmCache.CacheRecord( null, null );
}
@ -299,6 +304,11 @@ public class DefaultProjectBuildingHelper
}
}
if ( logger.isDebugEnabled() )
{
logger.debug( "Extension realms for project " + model.getId() + ": " + extensionRealms );
}
ProjectRealmCache.CacheRecord record = projectRealmCache.get( extensionRealms );
if ( record == null )