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

Allow to suppress download messages in interactive mode

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.1
    • Component/s: Command Line
    • Labels:
      None

      Description

      When running Maven in batch mode (with option -B) it's possible to suppress download messages using "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"

      Example:
      mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

      When leaving out the -B option this no longer works.

      Example:

      export MAVEN_OPTS='-Xmx1g -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss'
      mvn clean install
      

      Prints out time stamps as configured but does not suppress download progress messages.

      Expected:
      Suppressing "Downloaded" messages from the console output should be possible without requiring the "--batch-mode" command line argument.

        Attachments

        1. 2019-03-06_14-06-09.png
          175 kB
          Gunnar Wagenknecht

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                gunnar Gunnar Wagenknecht
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m