From 0eac5c7d1814251633503fa2e992f855247c8c8e Mon Sep 17 00:00:00 2001 From: Pascal Schumacher Date: Thu, 10 May 2018 14:55:28 +0200 Subject: [PATCH 1/2] Replace FindBugs with SpotBugs --- pom.xml | 22 +++++++++++----------- fb-excludes.xml => sb-excludes.xml | 0 2 files changed, 11 insertions(+), 11 deletions(-) rename fb-excludes.xml => sb-excludes.xml (100%) diff --git a/pom.xml b/pom.xml index b077277888..0135a78066 100644 --- a/pom.xml +++ b/pom.xml @@ -53,6 +53,8 @@ 3.0.0 8.9 + + 3.1.3.1 @@ -89,7 +91,7 @@ - clean verify apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc + clean verify apache-rat:check clirr:check checkstyle:check spotbugs:check javadoc:javadoc @@ -137,12 +139,11 @@ - org.codehaus.mojo - findbugs-maven-plugin - - ${commons.findbugs.version} + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs.plugin.version} - ${basedir}/fb-excludes.xml + ${basedir}/sb-excludes.xml @@ -209,12 +210,11 @@ - org.codehaus.mojo - findbugs-maven-plugin - - ${commons.findbugs.version} + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs.plugin.version} - ${basedir}/fb-excludes.xml + ${basedir}/sb-excludes.xml diff --git a/fb-excludes.xml b/sb-excludes.xml similarity index 100% rename from fb-excludes.xml rename to sb-excludes.xml From 01c1e1adf80e8eb5de7d6096c0bdeb651f8f44df Mon Sep 17 00:00:00 2001 From: Pascal Schumacher Date: Thu, 10 May 2018 15:48:31 +0200 Subject: [PATCH 2/2] Skip SpotBugs on Java 11, because it uses ASM and ASM does not yet support the java 11 class file format. --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 0135a78066..5cb4ca0fac 100644 --- a/pom.xml +++ b/pom.xml @@ -430,6 +430,8 @@ true + + true