The output of ConsoleMavenTransferListener looks ugly in the client
@@ -54,7 +54,6 @@ import org.apache.maven.cli.configuration.SettingsXmlConfigurationProcessor;
import org.apache.maven.cli.event.ExecutionEventLogger;
import org.apache.maven.cli.internal.BootstrapCoreExtensionManager;
import org.apache.maven.cli.internal.extension.model.CoreExtension;
-import org.apache.maven.cli.transfer.ConsoleMavenTransferListener;
import org.apache.maven.cli.transfer.QuietMavenTransferListener;
import org.apache.maven.cli.transfer.Slf4jMavenTransferListener;
import org.apache.maven.eventspy.internal.EventSpyDispatcher;
@@ -1309,7 +1308,7 @@ public class DaemonMavenCli {
}
protected TransferListener getConsoleTransferListener(boolean printResourceNames) {
- return new ConsoleMavenTransferListener(System.out, printResourceNames);
+ return new Slf4jMavenTransferListener(); // see https://github.com/mvndaemon/mvnd/issues/284
}
protected TransferListener getBatchTransferListener() {
