From: Simon Steiner Date: Thu, 18 Jan 2024 11:30:44 +0000 (+0000) Subject: FOP-3158: Switch to spotbugs X-Git-Tag: 2_10~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eb97ede04e7e9f2af82fb97b2c8894488498a316;p=xmlgraphics-fop.git FOP-3158: Switch to spotbugs --- 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} +