From 82fd2516d6c018e46ef290e05551349a9ed82ca8 Mon Sep 17 00:00:00 2001 From: pascalschumacher Date: Tue, 28 Aug 2018 19:00:09 +0200 Subject: [PATCH 1/2] Replace FindBugs with SpotBugs --- pom.xml | 21 +++++++++---------- ...-filter.xml => spotbugs-exclude-filter.xml | 0 2 files changed, 10 insertions(+), 11 deletions(-) rename findbugs-exclude-filter.xml => spotbugs-exclude-filter.xml (100%) diff --git a/pom.xml b/pom.xml index 149e1514e..add707556 100644 --- a/pom.xml +++ b/pom.xml @@ -589,6 +589,7 @@ utf-8 3.0.0 + 3.1.6 false @@ -611,7 +612,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 @@ -703,12 +704,11 @@ - org.codehaus.mojo - findbugs-maven-plugin - - ${commons.findbugs.version} + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs.plugin.version} - ${basedir}/findbugs-exclude-filter.xml + ${basedir}/spotbugs-exclude-filter.xml @@ -735,12 +735,11 @@ - org.codehaus.mojo - findbugs-maven-plugin - - ${commons.findbugs.version} + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs.plugin.version} - ${basedir}/findbugs-exclude-filter.xml + ${basedir}/spotbugs-exclude-filter.xml diff --git a/findbugs-exclude-filter.xml b/spotbugs-exclude-filter.xml similarity index 100% rename from findbugs-exclude-filter.xml rename to spotbugs-exclude-filter.xml From bb20855b5cba03fd4f38f934b21b7c25712f747c Mon Sep 17 00:00:00 2001 From: pascalschumacher Date: Tue, 28 Aug 2018 19:11:31 +0200 Subject: [PATCH 2/2] Skip SpotBugs on Java 11 --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index add707556..25721e31b 100644 --- a/pom.xml +++ b/pom.xml @@ -868,6 +868,8 @@ true + + true