diff --git a/client/src/main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java b/client/src/main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java index 2089b5a0c..d601de4be 100644 --- a/client/src/main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java +++ b/client/src/main/java-mvnd/org/mvndaemon/mvnd/client/DefaultClient.java @@ -232,16 +232,15 @@ public ExecutionResult execute(ClientOutput output, List argv) { if (version || showVersion || debug) { // Print mvnd version BuildProperties buildProperties = BuildProperties.getInstance(); - final String mvndVersionString = "mvnd " + buildProperties.getVersion() + " " + final String mvndVersionString = "Apache Maven Daemon (mvnd) " + buildProperties.getVersion() + " " + (Environment.isNative() ? buildProperties.getOsName() + "-" + buildProperties.getOsArch() + " native client" : "JVM client") + " (" + buildProperties.getRevision() + ")"; boolean isColored = !"never".equals(Environment.MAVEN_COLOR.getCommandLineOption(args)); - final String v = isColored - ? mvndVersionString - : Ansi.ansi().bold().a(mvndVersionString).reset().toString(); + final String v = + isColored ? Ansi.ansi().bold().a(mvndVersionString).reset().toString() : mvndVersionString; output.accept(Message.log(v)); // Print terminal information output.describeTerminal();