From 82d61a586a9bff51dd8c681991990bfe90c9c216 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 26 Nov 2023 15:22:36 -0500 Subject: [PATCH] Configure SpotBugs --- pom.xml | 27 ++++++++++++++++++++++++++- src/conf/spotbugs-excludes.xml | 18 ++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 src/conf/spotbugs-excludes.xml diff --git a/pom.xml b/pom.xml index 8a042ce..8dcba4e 100644 --- a/pom.xml +++ b/pom.xml @@ -549,6 +549,7 @@ under the License. maven-checkstyle-plugin ${basedir}/checkstyle.xml + true false @@ -563,7 +564,20 @@ under the License. - + + com.github.spotbugs + spotbugs-maven-plugin + + src/conf/spotbugs-excludes.xml + + + com.h3xstream.findsecbugs + findsecbugs-plugin + ${findsecbugs.version} + + + + @@ -661,6 +675,16 @@ under the License. com.github.spotbugs spotbugs-maven-plugin + + src/conf/spotbugs-excludes.xml + + + com.h3xstream.findsecbugs + findsecbugs-plugin + ${findsecbugs.version} + + + org.apache.maven.plugins @@ -706,6 +730,7 @@ under the License. 2.21.1 1.3.11 2.0.9 + 1.12.0 javax.servlet;version="[2.1.0, 3.0.0)";resolution:=optional, diff --git a/src/conf/spotbugs-excludes.xml b/src/conf/spotbugs-excludes.xml new file mode 100644 index 0000000..7358e4b --- /dev/null +++ b/src/conf/spotbugs-excludes.xml @@ -0,0 +1,18 @@ + + +