Skip to content

Conversation

@Pankraz76
Copy link

Description

This Pull Request removes the explicit PMD ruleset configuration (pmd-ruleset.xml) and opts to rely on the default PMD configurations.

Key Reasons:

  1. Simplification: By following the principle of "Convention Over Configuration," we reduce the need for custom rule management.
  2. Best Practices: Default PMD settings align with commonly accepted standards and practices out-of-the-box.
  3. Maintenance: Eliminates the overhead of maintaining a separate pmd-ruleset.xml file.

Changes Made

  • Deleted pmd-ruleset.xml.
  • Updated pom.xml to remove references to the deleted ruleset.

Impacts

  • Custom rules defined in pmd-ruleset.xml will no longer apply.
  • Builds and analyses will follow PMD's default behavior, ensuring alignment with community standards.

How to Test

  1. Run mvn pmd:check to verify builds and PMD analysis with default settings.
  2. Ensure the output aligns with expected code quality and rule coverage.

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