Need documentation on integrating with bazel
Need documentation on integrating with bazel. Documentation is missing.
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.
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).
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.