From 9f4dc90540782c2940bce1622c3b7d0e3f1afc92 Mon Sep 17 00:00:00 2001 From: Lukas Kral Date: Tue, 5 Mar 2024 10:13:13 +0100 Subject: [PATCH] Add spotbugs check to the project and build pipeline Signed-off-by: Lukas Kral --- .github/workflows/build.yaml | 3 +++ pom.xml | 26 +++++++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 47e1e05..a8fcb41 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,3 +25,6 @@ jobs: - name: Build run: mvn --batch-mode install + + - name: Run spotbugs check + run: mvn spotbugs:spotbugs \ No newline at end of file diff --git a/pom.xml b/pom.xml index 072ae1d..c4b6d49 100644 --- a/pom.xml +++ b/pom.xml @@ -76,11 +76,11 @@ 6.10.0 + + 4.7.3 4.7.3.4 3.3.0 - 17 - 17 - UTF-8 + 3.3.0 3.1.1 3.1.0 @@ -176,6 +176,26 @@ + + com.github.spotbugs + spotbugs-maven-plugin + ${maven.spotbugs.version} + + + com.github.spotbugs + spotbugs + ${spotbugs.version} + + + Max + + Low + + true + + ${project.build.directory}/spotbugs + + org.apache.maven.plugins maven-javadoc-plugin