diff --git a/.travis.yml b/.travis.yml index 8ccad05f886..82155250796 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,7 @@ matrix: - NAME="strict compilation" install: true # Strict compilation requires more than 2 GB - script: MAVEN_OPTS='-Xmx3000m' mvn clean -Pstrict -pl '!benchmarks' compile test-compile -B --fail-at-end + script: MAVEN_OPTS='-Xmx3000m' mvn clean -Pstrict -pl '!benchmarks' compile test-compile spotbugs:check -B --fail-at-end # packaging check - env: diff --git a/codestyle/spotbugs-exclude.xml b/codestyle/spotbugs-exclude.xml new file mode 100644 index 00000000000..749053ab380 --- /dev/null +++ b/codestyle/spotbugs-exclude.xml @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 53b420e8f6a..ff52815f7d0 100644 --- a/pom.xml +++ b/pom.xml @@ -1009,6 +1009,22 @@ + + com.github.spotbugs + spotbugs-maven-plugin + 3.1.12 + + + + com.github.spotbugs + spotbugs + 3.1.12 + + + + codestyle/spotbugs-exclude.xml + + org.apache.maven.plugins maven-pmd-plugin