Bug#880952: maven: Version display does not disable bold/color output in non-interactive context
fixed 880952 3.5.2-1 close 880952
Bug#880952: maven: Version display does not disable bold/color output in non-interactive context
Source: maven Followup-For: Bug #880952 I've checked upstream (which I should have done first) and it seems version 3.5.2 has fixed the issue (at least the piped one). So I guess this issue can be turned into an upgrade to 3.5.2 wishlist. Thanks. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (990, 'unstable'), (980, 'stable-updates'), (980, 'testing'), (970, 'stable'), (90, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
Bug#880952: maven: Version display does not disable bold/color output in non-interactive context
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
Bug#880952: maven: Version display does not disable bold/color output in non-interactive context
Package: maven Version: 3.5.0-6 Severity: normal Dear Maintainer, 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. Sylvain -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (800, 'stable-updates'), (800, 'stable'), (700, 'unstable'), (90, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages maven depends on: ii default-jre-headless [java7-runtime-headless]2:1.8-59 ii libjansi-java1.16-1 ii libmaven3-core-java 3.5.0-6 ii openjdk-8-jre-headless [java7-runtime-headless] 8u151-b12-1 maven recommends no packages. maven suggests no packages. -- no debconf information