o Extended debug logging

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@903425 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-01-26 21:27:22 +00:00
parent 459c2e4e03
commit 811c97ec30
1 changed files with 6 additions and 0 deletions

View File

@ -1614,6 +1614,12 @@ public class DefaultLifecycleExecutor
// //
public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles( String packaging ) public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles( String packaging )
{ {
if ( logger.isDebugEnabled() )
{
logger.debug( "Looking up lifecyle mappings for packaging " + packaging + " from "
+ Thread.currentThread().getContextClassLoader() );
}
LifecycleMapping lifecycleMappingForPackaging = lifecycleMappings.get( packaging ); LifecycleMapping lifecycleMappingForPackaging = lifecycleMappings.get( packaging );
if ( lifecycleMappingForPackaging == null ) if ( lifecycleMappingForPackaging == null )