Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7032

Option -B still showing formatting when used with --version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.3
    • 3.8.2, 4.0.0-alpha-2, 4.0.0
    • Command Line, Logging
    • Patch

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              martinkanters Martin Kanters
              Sprax Christian Koop
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: