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

Fix the checkstyle plugin doesn't fail on violation #853

Merged
merged 2 commits into from
Dec 7, 2022

Conversation

RobertIndie
Copy link
Member

Purpose

Fix #820 (comment)
The root cause is that the plugin configuration of the submodule is inherited from the parent project. We have skipped failOnViolation in the parent pom. Therefore the submodule also skips that.

This PR makes the checkstyle configuration of the parent module not be inherited to the submodule.
After we complete this issue: #820, we can turn it back and let the checkstyle configuration of the parent module apply to the whole project.

Remarks

PR introduces (a) breaking change(s): no

PR introduces (a) deprecation(s): no

@RobertIndie RobertIndie self-assigned this Dec 7, 2022
@RobertIndie RobertIndie changed the title Fix checkstyle Fix the checkstyle plugin doesn't fail on violation Dec 7, 2022
@RobertIndie RobertIndie mentioned this pull request Dec 7, 2022
97 tasks
@tenthe
Copy link
Contributor

tenthe commented Dec 7, 2022

Hi @RobertIndie, thanks a lot. I'll directly merge it, so I can use the changes for my PR

@tenthe tenthe merged commit d8687e5 into apache:dev Dec 7, 2022
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.

Enable check style for the project
3 participants