spotbugs icon indicating copy to clipboard operation
spotbugs copied to clipboard

Need documentation on integrating with bazel

Open hemanthbsridhar opened this issue 2 years ago • 3 comments

Need documentation on integrating with bazel. Documentation is missing.

hemanthbsridhar avatar Aug 25 '23 10:08 hemanthbsridhar

Thanks for opening your first issue here! :smiley: Please check our contributing guideline. Especially when you report a problem, make sure you share a Minimal, Complete, and Verifiable example to reproduce it in this issue.

welcome[bot] avatar Aug 25 '23 10:08 welcome[bot]

I'm not familiar with Bazel, but according to https://github.com/spotbugs/spotbugs/issues/2503 the newer Bazel versions (>=6.2) are not supported by the currently released spotbugs versions. There is already a fix for this (https://github.com/spotbugs/spotbugs/pull/2506) merged, which will be released in the next version, but there are some other problems with more complex examples (see https://github.com/spotbugs/spotbugs/pull/2512).

JuditKnoll avatar Aug 29 '23 11:08 JuditKnoll

According to https://github.com/spotbugs/discuss/issues/82, https://github.com/bazel-contrib/rules_jvm#spotbugs_test (also available on https://registry.bazel.build/modules/contrib_rules_jvm) is the way to go.

vorburger avatar Jun 21 '24 21:06 vorburger