mirror of https://github.com/apache/maven.git
[MNG-6183] Dependency management debug message enhancements.
o Updated to add debug log messages about optional flag management.
This commit is contained in:
parent
ab800b0cfa
commit
34afec69c8
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue