mirror of https://github.com/apache/maven.git
[MNG-7618] Use goalPrefix instead of artifactId 4to display mojos being executed (#898)
This commit is contained in:
parent
6773c05128
commit
dc47da4366
|
@ -419,7 +419,8 @@ public class ExecutionEventLogger extends AbstractExecutionListener {
|
|||
}
|
||||
|
||||
private void append(MessageBuilder buffer, MojoExecution me) {
|
||||
buffer.mojo(me.getArtifactId() + ':' + me.getVersion() + ':' + me.getGoal());
|
||||
String prefix = me.getMojoDescriptor().getPluginDescriptor().getGoalPrefix();
|
||||
buffer.mojo(prefix + ':' + me.getVersion() + ':' + me.getGoal());
|
||||
if (me.getExecutionId() != null) {
|
||||
buffer.a(' ').strong('(' + me.getExecutionId() + ')');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue