googleapis / sdk-platform-java

Tooling and shared libraries for Cloud SDK for Java
https://cloud.google.com/java/docs/bom
Apache License 2.0
66 stars 53 forks source link

Replace FindBugs with SpotBugs #1310

Open elharo opened 4 years ago

elharo commented 4 years ago

per @lesv we should replace FindBugs with SpotBugs

vam-google commented 4 years ago

@elharo @lesv Can you please provide more context here? I.e. why should we do it?

lesv commented 4 years ago

https://gleclaire.github.io/findbugs-maven-plugin/ <== Talks about Findbugs no longer being maintained.

https://spotbugs.github.io/ is the recommended replacement.

elharo commented 4 years ago

SpotBugs requires Java 8 so we have to be careful how we configure the profiles.

elharo commented 4 years ago

Gradle instructions: https://spotbugs.readthedocs.io/en/stable/gradle.html