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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.3
    • Fix Version/s: 3.8.2, 4.0.0, 4.0.0-alpha-1
    • Component/s: Command Line, Logging
    • Labels:
    • Environment:
    • Flags:
      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

              • Assignee:
                martinkanters Martin Kanters
                Reporter:
                Sprax Christian Koop
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: