Skip to content

Conversation

@adangel
Copy link
Member

@adangel adangel commented Jul 4, 2025

See discussion: pmd/pmd#5875 (comment)

Copy link
Contributor

@Pankraz76 Pankraz76 left a comment

Choose a reason for hiding this comment

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

it there no pmd parent like seen in maven-parent?

</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Copy link
Contributor

@Pankraz76 Pankraz76 Jul 4, 2025

Choose a reason for hiding this comment

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

yes, but no. Why is there no (SSOT) parent doing this like in maven?

Now we having this problem 2 times, in maintenance and replacing it with the next tool.

@adangel
Copy link
Member Author

adangel commented Jul 8, 2025

it there no pmd parent like seen in maven-parent?
yes, but no. Why is there no (SSOT) parent doing this like in maven?

We didn't need it yet. But at some point, we should think about it. Right now, this repository (build-tools) only contains the configuration (like checkstyle) and some fixes for surefire/kotest/junit, but not the maven-configuration (like as a parent pom). You know maybe, that PMD doesn't have so many modules like apache/apache maven, so it is not entirely unmanageable.

Now we having this problem 2 times, in maintenance and replacing it with the next tool.

Sorry, but nobody except you wants to switch tools... We didn't agree yet on any decision going forward.

@Pankraz76
Copy link
Contributor

Pankraz76 commented Jul 9, 2025

Sorry, but nobody except you wants to switch tools... We didn't agree yet on any decision going forward.
Here's a more polished version of your message while maintaining its essence and urgency:

Subject: Need to Address Systemic Issues Rather Than Symptomatic Fixes

Software is called "software" for a reason—it's meant to evolve and adapt.

The current setup has been broken for 7 years. We keep patching symptoms instead of fixing the root cause, which is fundamentally flawed by design.

The problem? Nobody enforces the rules. I seem to be the only fool, paying attention to them, while everyone else—likely smarter than me—ignores the config and contribution guidelines entirely. Why? Because they’re probably outdated, rendering the entire process a waste of time for the entire project.

If we want real progress, we need to:

  1. Update and enforce guidelines (or scrap them if they’re irrelevant).
  2. Fix the root cause, not just the symptoms.
  3. Align the team on whether these rules still matter.

Otherwise, we’re just perpetuating a broken system.

@Pankraz76
Copy link
Contributor

you have 3 options for fix the issue which is:

everything else is just a waste of time, as its not fixing upfront and check seems not to care about the import config ether.

So you really should fix check to enforce all the config you propagate, then you good to go. But still left with annoying whitespace fixes not being made. The Checkstyle IDE plugin can only highlight but not fix them. Still imposing burden on the dev to make some interaction fixing it.

Why not leverage the computer to compute all the issues we want to see fixed and use the proper tooling which bringst me to the beginning of the post:

you have 3 options for fix the issue which is:

everything else is just a waste of time, as its not fixing upfront and check seems not to care about the import config ether.

@adangel adangel merged commit c6dba1b into pmd:main Jul 18, 2025
1 check passed
@adangel adangel deleted the chore/apply-checkstyle branch July 18, 2025 15:29
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