From b5467dc61729f5426da568c28b9b667658915f07 Mon Sep 17 00:00:00 2001 From: vil02 Date: Sat, 27 Apr 2024 14:30:46 +0200 Subject: [PATCH] chore: configure SpotBugs --- .github/workflows/build.yml | 2 + pom.xml | 9 +++ spotbugs-exclude.xml | 134 ++++++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+) create mode 100644 spotbugs-exclude.xml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49821b917fd2..39a690f9aec4 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 594a9acc39f1..b9c2e64888d1 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 000000000000..959773494617 --- /dev/null +++ b/spotbugs-exclude.xml @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +