You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/06/26 22:15:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17370089#comment-17370089 ] 

Michael Osipov commented on MNG-7032:
-------------------------------------

Fixed with [3e917677e484067b853eaa4a6de44ebcf5a988de|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=3e917677e484067b853eaa4a6de44ebcf5a988de].

> 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: 4.0.0, 4.0.0-alpha-1
>
>
> 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.3.4#803005)