From eb97ede04e7e9f2af82fb97b2c8894488498a316 Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Thu, 18 Jan 2024 11:30:44 +0000 Subject: FOP-3158: Switch to spotbugs --- .github/workflows/maven.yml | 2 +- fop-core/pom.xml | 8 ++++---- fop-events/pom.xml | 4 ++-- fop-sandbox/pom.xml | 4 ++-- fop-util/pom.xml | 4 ++-- pom.xml | 7 ++++++- 6 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 661a55573..394564531 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -28,7 +28,7 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Maven - run: mvn -B package checkstyle:check findbugs:check --file pom.xml + run: mvn -B package checkstyle:check spotbugs:check --file pom.xml # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive #- name: Update dependency graph diff --git a/fop-core/pom.xml b/fop-core/pom.xml index 221465ddd..bc2c56781 100644 --- a/fop-core/pom.xml +++ b/fop-core/pom.xml @@ -328,8 +328,8 @@ - org.codehaus.mojo - findbugs-maven-plugin + com.github.spotbugs + spotbugs-maven-plugin ${findbugs.plugin.version} src/tools/resources/findbugs/exclusions.xml @@ -378,8 +378,8 @@ - org.codehaus.mojo - findbugs-maven-plugin + com.github.spotbugs + spotbugs-maven-plugin ${findbugs.plugin.version} src/tools/resources/findbugs/exclusions.xml diff --git a/fop-events/pom.xml b/fop-events/pom.xml index ac0df8625..a7a6d2d0e 100644 --- a/fop-events/pom.xml +++ b/fop-events/pom.xml @@ -110,8 +110,8 @@ - org.codehaus.mojo - findbugs-maven-plugin + com.github.spotbugs + spotbugs-maven-plugin ${findbugs.plugin.version} ../fop-core/src/tools/resources/findbugs/exclusions.xml diff --git a/fop-sandbox/pom.xml b/fop-sandbox/pom.xml index 9fefca9b6..880195c65 100644 --- a/fop-sandbox/pom.xml +++ b/fop-sandbox/pom.xml @@ -105,8 +105,8 @@ - org.codehaus.mojo - findbugs-maven-plugin + com.github.spotbugs + spotbugs-maven-plugin ${findbugs.plugin.version} src/tools/resources/findbugs/exclusions.xml diff --git a/fop-util/pom.xml b/fop-util/pom.xml index 020d97fef..33fc903c3 100644 --- a/fop-util/pom.xml +++ b/fop-util/pom.xml @@ -58,8 +58,8 @@ - org.codehaus.mojo - findbugs-maven-plugin + com.github.spotbugs + spotbugs-maven-plugin ${findbugs.plugin.version} ../fop-core/src/tools/resources/findbugs/exclusions.xml diff --git a/pom.xml b/pom.xml index 637bafc80..608c4b93b 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ 1.0.4 3.11.0 1.4.0 - 3.0.4 + 3.1.12.2 3.1.1 8 4.11 @@ -102,6 +102,11 @@ maven-surefire-plugin ${surefire.plugin.version} + + com.github.spotbugs + spotbugs-maven-plugin + ${findbugs.plugin.version} + -- cgit v1.2.3