diff --git a/pom.xml b/pom.xml index 870eda2d..01959d53 100644 --- a/pom.xml +++ b/pom.xml @@ -168,7 +168,7 @@ - clean verify apache-rat:check clirr:check javadoc:javadoc + clean verify apache-rat:check clirr:check checkstyle:check spotbugs:check javadoc:javadoc maven-compiler-plugin @@ -208,15 +208,12 @@ ${basedir}/src/main/resources/checkstyle/checkstyle-suppressions.xml - - org.codehaus.mojo - findbugs-maven-plugin - ${commons.findbugs.version} + com.github.spotbugs + spotbugs-maven-plugin + ${commons.spotbugs.version} - Normal - Default - ${basedir}/src/main/resources/findbugs/findbugs-exclude-filter.xml + ${basedir}/src/site/resources/spotbugs/spotbugs-exclude-filter.xml @@ -287,6 +284,14 @@ + + com.github.spotbugs + spotbugs-maven-plugin + ${commons.spotbugs.version} + + ${basedir}/src/site/resources/spotbugs/spotbugs-exclude-filter.xml + + org.apache.maven.plugins maven-pmd-plugin @@ -300,16 +305,6 @@ - - org.codehaus.mojo - findbugs-maven-plugin - ${commons.findbugs.version} - - Normal - Default - ${basedir}/src/main/resources/findbugs/findbugs-exclude-filter.xml - - org.codehaus.mojo taglist-maven-plugin diff --git a/src/main/resources/findbugs/findbugs-exclude-filter.xml b/src/site/resources/spotbugs/spotbugs-exclude-filter.xml similarity index 57% rename from src/main/resources/findbugs/findbugs-exclude-filter.xml rename to src/site/resources/spotbugs/spotbugs-exclude-filter.xml index da2896a2..4af22bc7 100644 --- a/src/main/resources/findbugs/findbugs-exclude-filter.xml +++ b/src/site/resources/spotbugs/spotbugs-exclude-filter.xml @@ -1,4 +1,3 @@ - - - + xmlns="https://github.com/spotbugs/filter/3.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd"> + - - - + + + + +