You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2022/04/24 08:09: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=17527029#comment-17527029 ] 

Hudson commented on MNG-7032:
-----------------------------

Build failed in Jenkins: Maven » Maven TLP » maven » MNG-7457 #2

See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/MNG-7457/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
>
>
> 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.7#820007)