From 29270b88a4c98afb2b73b95b7e1a49cb9e072520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kr=C3=A1l?= <53821852+im-konge@users.noreply.github.com> Date: Tue, 5 Mar 2024 10:24:46 +0100 Subject: [PATCH] Add spotbugs check to the project and build pipeline (#28) 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 f07bff6..19c5c4a 100644 --- a/pom.xml +++ b/pom.xml @@ -77,11 +77,11 @@ 6.10.0 1.4.12 + + 4.7.3 4.7.3.4 3.3.0 - 17 - 17 - UTF-8 + 3.3.0 3.1.1 3.1.0 @@ -184,6 +184,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