You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:01 UTC

[jira] [Updated] (MNG-7032) Option -B still showing formatting when used with --version

     [ https://issues.apache.org/jira/browse/MNG-7032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated MNG-7032:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> Option -B still showing formatting when used with --version
> -----------------------------------------------------------
>
>                 Key: MNG-7032
>                 URL: https://issues.apache.org/jira/browse/MNG-7032
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line, Logging
>    Affects Versions: 3.6.3
>         Environment: Running Ubuntu 20.04.1 LTS (Focal Fossa)
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 11.0.8, vendor: AdoptOpenJDK, runtime: /opt/java/jdk-11.0.8+10
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-54-generic", arch: "amd64", family: "unix"
>            Reporter: Christian Koop
>            Assignee: Martin Kanters
>            Priority: Major
>              Labels: easyfix
>             Fix For: 3.8.2, 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> When running {{mvn -B --version}} the first line ({{'Apache Maven 3.6.3'}}) is written in bold although the option {{-B}} should have stripped that as it does with color in combination with other options.
> This causes an issue when logging to a file as the ASCII escape sequence is written to it in plain text (causing confusion).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)