From d97a1ca6f44c7aa62d44f596208bbdad4b3a7e59 Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Fri, 23 Feb 2018 18:53:08 +0100 Subject: [PATCH 1/3] Run FindBugs by default in components --- pom.xml | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fcd70bc..4145e33 100644 --- a/pom.xml +++ b/pom.xml @@ -589,6 +589,30 @@ + + org.codehaus.mojo + findbugs-maven-plugin + + ${findbugs.failOnError} + + + true + false + ${findbugs.effort} + ${findbugs.threshold} + ${findbugs.excludeFilterFile} + + + + findbugs + + check + + verify + + + + maven-enforcer-plugin @@ -718,6 +742,20 @@ ${java.level} + 3.0.5 + + + true + + Medium + + default + + + 1.16 1.0-alpha-5 @@ -727,7 +765,6 @@ 1.1.2 2.7 1.6.0 - 3.0.5 1.5-jenkins-3 2.3.0-1 2.1 From d8d62c1d055f1ba9e4ba8ca4ddf4ebd2063bcee4 Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Fri, 23 Feb 2018 21:29:09 +0100 Subject: [PATCH 2/3] Add FindBugs annotations to the dependency management --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index 4145e33..c72a44d 100644 --- a/pom.xml +++ b/pom.xml @@ -147,6 +147,11 @@ test-annotations 1.2 + + com.google.code.findbugs + annotations + 3.0.1 + From 181554e89a6336513c667e41db99ae0f137ec3c4 Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Fri, 23 Feb 2018 21:35:39 +0100 Subject: [PATCH 3/3] Address comment from @dwnusbaum --- pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index c72a44d..ee0f0eb 100644 --- a/pom.xml +++ b/pom.xml @@ -599,12 +599,11 @@ findbugs-maven-plugin ${findbugs.failOnError} - - true false ${findbugs.effort} ${findbugs.threshold} + ${findbugs.excludeFilterFile}