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 { } else {
asb asb
.append(':') .append(':')
.style(CYAN_FOREGROUND)
.append(String.format(artifactIdFormat, prj.id)) .append(String.format(artifactIdFormat, prj.id))
.style(GREEN_FOREGROUND); .style(GREEN_FOREGROUND)
asb
.append(execution.getPluginArtifactId()) .append(execution.getPluginArtifactId())
.append(':') .append(':')
.append(execution.getMojo()) .append(execution.getMojo())
.append(' ')
.style(AttributedStyle.DEFAULT) .style(AttributedStyle.DEFAULT)
.append(" @ ") .append('(')
.style(CYAN_FOREGROUND)
.append(execution.getExecutionId()) .append(execution.getExecutionId())
.style(AttributedStyle.DEFAULT); .append(')');
} }
lines.add(asb.toAttributedString()); lines.add(asb.toAttributedString());
} }