-
Notifications
You must be signed in to change notification settings - Fork 12
chore: apply checkstyle to build-tools as well #82
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
Conversation
src/main/java/net/sourceforge/pmd/buildtools/surefire/junit/TestExecutionListener.java
Show resolved
Hide resolved
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.
it there no pmd parent like seen in maven-parent?
| </plugin> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-checkstyle-plugin</artifactId> |
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.
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.
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.
Sorry, but nobody except you wants to switch tools... We didn't agree yet on any decision going forward. |
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:
Otherwise, we’re just perpetuating a broken system. |
|
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. |
See discussion: pmd/pmd#5875 (comment)