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

Improve the use of checkstyle in the build #477

Merged
merged 2 commits into from Jul 6, 2021

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Jun 9, 2021

This PR improves the build time wrt to checkstyle.
Two other PRs will follow eventually to incorporate codehaus-plexus/modello#116, codehaus-plexus/modello#117 and mojohaus/animal-sniffer#165 if possible.
Those 4 fixes make subsequent builds much smoother.

@gnodet
Copy link
Contributor Author

gnodet commented Jun 9, 2021

The problem with checkstyle is that using the error level as a violation means info and warnings will be ignored. Unfortunately, those are only ignored by the plugin, but checkstyle still see the violations and does not cache the results for files that contains such violations. We need to use info level and some real suppressions so that all files can be cached correctly.

@gnodet gnodet merged commit 46410d3 into apache:master Jul 6, 2021
sakibguy added a commit to sakibguy/maven that referenced this pull request Jul 6, 2021
Improve the use of checkstyle in the build (apache#477)
@gnodet gnodet deleted the build-improvements branch September 21, 2021 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants