mirror of
https://github.com/apache/maven.git
synced 2025-03-08 17:49:15 +00:00
[MNG-7618][MNG-7624] Backport to Maven 3.9.x (#937)
These changes are making IT suite to fail with maven-3.9.x. OTOH, the change is nearly trivial, while value is high, so let's backport them. --- https://issues.apache.org/jira/browse/MNG-7618 https://issues.apache.org/jira/browse/MNG-7624
This commit is contained in:
parent
cd64c54a88
commit
a23ff0f9a2
@ -380,7 +380,11 @@ public void forkSucceeded(ExecutionEvent event) {
|
||||
}
|
||||
|
||||
private void append(MessageBuilder buffer, MojoExecution me) {
|
||||
buffer.mojo(me.getArtifactId() + ':' + me.getVersion() + ':' + me.getGoal());
|
||||
String prefix = me.getMojoDescriptor().getPluginDescriptor().getGoalPrefix();
|
||||
if (StringUtils.isEmpty(prefix)) {
|
||||
prefix = me.getGroupId() + ":" + me.getArtifactId();
|
||||
}
|
||||
buffer.mojo(prefix + ':' + me.getVersion() + ':' + me.getGoal());
|
||||
if (me.getExecutionId() != null) {
|
||||
buffer.a(' ').strong('(' + me.getExecutionId() + ')');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user