Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress the transfer progress in Maven #43

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

marchof
Copy link
Contributor

@marchof marchof commented Nov 9, 2023

While reviewing recent PRs I needed to scroll though thousands of Maven download progress logs. I propose to silence this useless output.

@marchof marchof requested a review from Godin November 9, 2023 21:45
@@ -22,4 +22,4 @@ jobs:
export DISPLAY=:99.0
Xvfb $DISPLAY &
fi
mvn -V -B -e verify -Pe4.12 -Dtycho.executionEnvironment=JavaSE-17 -DskipUITests=false
mvn -V -B -e verify -Pe4.12 -Dtycho.executionEnvironment=JavaSE-17 -DskipUITests=false -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marchof Nice! Just one question - did you choose

-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

over

--no-transfer-progress

to be able to see warnings?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that you mentioning it I remember this is the better option (less verbose, more explicit). I will change it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@Godin Godin changed the title Suppress Maven download progress Suppress the transfer progress in Maven Nov 14, 2023
@Godin Godin merged commit 8136de0 into master Nov 14, 2023
7 checks passed
@Godin Godin deleted the suppress-maven-download-progress branch November 14, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants