Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.6.0
-
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
Attachments
Issue Links
- relates to
-
MRELEASE-965 Upload completes but doesn't update stdout - making it look like a freeze
- Open
- links to