Make mvnd coloring more consistent with maven, fixes #653 (#654)

This commit is contained in:
Guillaume Nodet
2022-06-20 11:28:11 +02:00
committed by GitHub
parent b3aeb8899a
commit 1ec11ab348

View File

@@ -776,17 +776,17 @@ public class TerminalOutput implements ClientOutput {
} else {
asb
.append(':')
.style(CYAN_FOREGROUND)
.append(String.format(artifactIdFormat, prj.id))
.style(GREEN_FOREGROUND);
asb
.style(GREEN_FOREGROUND)
.append(execution.getPluginArtifactId())
.append(':')
.append(execution.getMojo())
.append(' ')
.style(AttributedStyle.DEFAULT)
.append(" @ ")
.style(CYAN_FOREGROUND)
.append('(')
.append(execution.getExecutionId())
.style(AttributedStyle.DEFAULT);
.append(')');
}
lines.add(asb.toAttributedString());
}