[MNG-6180] groupId has plain color when goal fails

This commit is contained in:
rfscholte 2017-03-05 17:25:43 +01:00
parent 34afec69c8
commit 8f025faab8
1 changed files with 3 additions and 2 deletions

View File

@ -84,8 +84,9 @@ private static String createMessage( MojoExecution execution, MavenProject proje
if ( execution != null ) if ( execution != null )
{ {
buffer.a( ' ' ).a( execution.getGroupId() ).a( ':' ); buffer.a( ' ' );
buffer.mojo( execution.getArtifactId() + ':' + execution.getVersion() + ':' + execution.getGoal() ); buffer.mojo( execution.getGroupId() + ':' + execution.getArtifactId() + ':' + execution.getVersion() + ':'
+ execution.getGoal() );
buffer.a( ' ' ).strong( '(' + execution.getExecutionId() + ')' ); buffer.a( ' ' ).strong( '(' + execution.getExecutionId() + ')' );
} }