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 2019/04/01 08:48:00 UTC
[jira] [Commented] (MNG-6605) Allow to suppress download messages
in interactive mode
[ https://issues.apache.org/jira/browse/MNG-6605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806525#comment-16806525 ]
Hudson commented on MNG-6605:
-----------------------------
Build succeeded in Jenkins: Maven TLP » maven » master #188
See https://builds.apache.org/job/maven-box/job/maven/job/master/188/
> Allow to suppress download messages in interactive mode
> -------------------------------------------------------
>
> Key: MNG-6605
> URL: https://issues.apache.org/jira/browse/MNG-6605
> Project: Maven
> Issue Type: Improvement
> Components: Command Line
> Affects Versions: 3.6.0
> Reporter: Gunnar Wagenknecht
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 3.6.1
>
> Attachments: 2019-03-06_14-06-09.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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:*
> {noformat}
> 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
> {noformat}
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)