showuon opened a new pull request #8790: URL: https://github.com/apache/kafka/pull/8790
Upgrade spotbugsPlugin to have clear error output to indicate where the error is. When investigating KAFKA-10081, I found the error output of spotbugs is very poor. It doesn't even tell you where the error is, it will take a lot of time for the developers to find out where the error is, and then fix it.  https://builds.apache.org/blue/organizations/jenkins/kafka-trunk-jdk8/detail/kafka-trunk-jdk8/4596/pipeline/ Then, I found out there's a bug in spotbugsPlugin in V4.0.x, and got fixed in V4.2.x https://github.com/spotbugs/spotbugs-gradle-plugin/issues/210 So, after upgrading to V4.2.x (I followed to the latest version V4.2.4), the output is like this:  So you can open the report file to find out the error. I think this is very important to save the developer's time to fix the spotBug issues while developing. Thanks. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
