diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49821b917..39a690f9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,3 +31,5 @@ jobs: fail_ci_if_error: true - name: Checkstyle run: mvn checkstyle:check + - name: SpotBugs + run: mvn spotbugs:check diff --git a/pom.xml b/pom.xml index 594a9acc3..b9c2e6488 100644 --- a/pom.xml +++ b/pom.xml @@ -114,6 +114,15 @@ + + com.github.spotbugs + spotbugs-maven-plugin + 4.8.4.0 + + spotbugs-exclude.xml + true + + diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml new file mode 100644 index 000000000..959773494 --- /dev/null +++ b/spotbugs-exclude.xml @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +