[MNG-6183] Dependency management debug message enhancements.

o Updated to add debug log messages about optional flag management.
This commit is contained in:
Christian Schulte 2016-01-27 03:46:11 +01:00
parent ab800b0cfa
commit 34afec69c8
1 changed files with 8 additions and 0 deletions

View File

@ -273,6 +273,14 @@ public class DefaultProjectDependenciesResolver
appendManagementSource( buffer, art, "version" );
buffer.append( ')' );
}
Boolean premanagedOptional = DependencyManagerUtils.getPremanagedOptional( node );
if ( premanagedOptional != null && !premanagedOptional.equals( dep.getOptional() ) )
{
buffer.append( " (optionality managed from " ).append( premanagedOptional );
appendManagementSource( buffer, art, "optional" );
buffer.append( ')' );
}
}
else
{