GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [doc] Update ruleset examples for ant by pzygielo · Pull Request #2344 · pmd/pmd

Conversation

@pzygielo

@pzygielo pzygielo commented Mar 8, 2020 •
edited by adangel
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Before submitting a PR, please check that:

  • The PR is submitted against master. The PMD team will merge back to support branches as needed.
  • ./mvnw clean verify passes. This will build and test PMD, execute PMD and checkstyle rules. Check this for more info

PR Description:

Avoid:

Use Rule name category/java/bestpractices.xml/ConstantsInInterface
instead of the deprecated Rule name rulesets/java/design.xml/ConstantsInInterface.
PMD 7.0.0 will remove support for this deprecated Rule name usage.

Doc page, that is being updated:
https://pmd.github.io/latest/pmd_userdocs_tools_ant.html

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ghost

ghost commented Mar 8, 2020

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pzygielo
pzygielo marked this pull request as ready for review March 8, 2020 10:22
oowekyala
oowekyala approved these changes Mar 9, 2020
View reviewed changes

@oowekyala oowekyala left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks for a good idea. But we strongly recommend that users don't include whole categories at a time, but instead create their own ruleset early on. The quickstart.xml ruleset is a base starting point, independent of categories

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/pages/pmd/userdocs/tools/ant.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/pages/pmd/userdocs/tools/ant.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@pzygielo
Replace deprecated rulesets/...
241bf9e
Avoid:
Use Rule name category/java/bestpractices.xml/ConstantsInInterface instead of the deprecated Rule name rulesets/java/design.xml/ConstantsInInterface. PMD 7.0.0 will remove support for this deprecated Rule name usage.
@jsotuyod jsotuyod added the in:documentation Affects the documentation [doc] label Mar 9, 2020
@pzygielo
pzygielo requested a review from oowekyala March 9, 2020 20:07
@pzygielo pzygielo changed the title Replace rulesets/... with category/... Replace deprecated rulesets/... Mar 9, 2020
@adangel adangel changed the title Replace deprecated rulesets/... [doc] Replace deprecated rulesets/... Mar 12, 2020
@adangel adangel changed the title [doc] Replace deprecated rulesets/... [doc] Update ruleset usage example in ant Mar 12, 2020
@adangel adangel self-assigned this Mar 12, 2020
@adangel adangel added this to the 6.22.0 milestone Mar 12, 2020
@adangel adangel changed the title [doc] Update ruleset usage example in ant [doc] Update ruleset examples for ant Mar 12, 2020
adangel added a commit that referenced this pull request Mar 12, 2020
@adangel
[doc] Update release notes, refs #2344
cad2825
@adangel
adangel merged commit 241bf9e into pmd:master Mar 12, 2020
@pzygielo
pzygielo deleted the rulesets_2_category branch March 12, 2020 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adangel adangel adangel left review comments
@oowekyala oowekyala Awaiting requested review from oowekyala

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@adangel adangel

Labels

in:documentation Affects the documentation [doc]

Projects

None yet

Milestone

6.22.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@pzygielo @adangel @oowekyala @jsotuyod
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.