Bug#880952: maven: Version display does not disable bold/color output in non-interactive context

Emmanuel Bourg ebourg at apache.org
Mon Nov 6 08:39:27 UTC 2017


Le 6/11/2017 à 09:31, Sylvain Joubert a écrit :

> The command line 'mvn -v' outputs its first line in bold, which is fine in
> interactive contexts.
> However, it still outputs bold in a non-interactive context such as piped into
> another command or called from a script/3rd-party tool to be processed.
> 
> The following command 'mvn -v | cat' should not output bold text.
> Also note that, in my opinion, 'mvn -v -B' should also disable bold/color
> output, but don't.

Thank you for the report Sylvain. This doesn't look like a packaging
issue, it would be better to report this upstream.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list