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

resolve warning in build output from PMD #6226

Closed
romani opened this issue Nov 23, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@romani
Copy link
Member

commented Nov 23, 2018

https://travis-ci.org/checkstyle/checkstyle/jobs/456413115#L738

[WARNING] Discontinue using Rule name category/java/codestyle.xml/AbstractNaming as it is scheduled for removal from PMD. PMD 7.0.0 will remove support for this Rule.

[INFO] --- maven-pmd-plugin:3.11.0:pmd (pmd) @ checkstyle ---
[WARNING] Discontinue using Rule name category/java/codestyle.xml/AbstractNaming as it is scheduled for removal from PMD. PMD 7.0.0 will remove support for this Rule.
[WARNING] Discontinue using Rule name category/java/codestyle.xml/AbstractNaming as it is scheduled for removal from PMD. PMD 7.0.0 will remove support for this Rule.
[INFO]
@rnveach

This comment has been minimized.

Copy link
Member

commented Nov 23, 2018

pmd/pmd#972

AbstractNaming -> superseded by ClassNamingConventions

https://github.com/pmd/pmd/blob/1d652fc81cfe3d380b5a586f8ea3539fafa42136/docs/pages/next_major_development.md#L173

The Java rule {% rule java/codestyle/AbstractNaming %} is deprecated in favour of {% rule java/codestyle/ClassNamingConventions %}.

https://pmd.github.io/pmd-6.6.0/pmd_rules_java_codestyle.html#classnamingconventions

It looks like we will have to customize ClassNamingConventions , which we are probably using the defaults for since it isn't listed anywhere.

@romani

This comment has been minimized.

Copy link
Member Author

commented Mar 10, 2019

Fix is merged

@romani romani closed this Mar 10, 2019

Vantuz added a commit to Vantuz/checkstyle that referenced this issue Apr 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.