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

Sylvain Joubert joubert.sy at gmail.com
Mon Nov 6 08:31:38 UTC 2017


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-java                                    1.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



More information about the pkg-java-maintainers mailing list