mirror of https://github.com/apache/maven.git
Fixing formatting on transitive resolution error (again).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@617669 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c9d88e6ce3
commit
e86a507c5d
|
@ -621,9 +621,14 @@ public class DefaultCoreErrorReporter
|
|||
writer.write( NEWLINE );
|
||||
writer.write( "Error message: " );
|
||||
writer.write( cause.getMessage() );
|
||||
writer.write( NEWLINE );
|
||||
writer.write( "Root error message: " );
|
||||
writer.write( getRootCause( cause ).getMessage() );
|
||||
|
||||
Throwable root = getRootCause( cause );
|
||||
if ( root != cause )
|
||||
{
|
||||
writer.write( NEWLINE );
|
||||
writer.write( "Root error message: " );
|
||||
writer.write( root.getMessage() );
|
||||
}
|
||||
|
||||
writeProjectCoordinate( project, writer );
|
||||
addTips( CoreErrorTips.getDependencyArtifactResolutionTips( project, scope, cause ),
|
||||
|
|
Loading…
Reference in New Issue