From 83024ac87afa90ae1f207a8957bf652b67f9bc59 Mon Sep 17 00:00:00 2001 From: Chia-Ping Tsai Date: Thu, 29 Jun 2017 13:16:40 +0800 Subject: [PATCH] HBASE-18293 Only add the spotbugs dependency when jdk8 is active --- pom.xml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 7a1fdd2767..ef5fc632ea 100644 --- a/pom.xml +++ b/pom.xml @@ -576,13 +576,6 @@ true Max - - - com.github.spotbugs - spotbugs - ${spotbugs.version} - - org.codehaus.mojo @@ -1945,6 +1938,25 @@ -Xdoclint:none + + org.codehaus.mojo + findbugs-maven-plugin + 3.0.0 + + + ${project.basedir}/../dev-support/findbugs-exclude.xml + true + true + Max + + + + com.github.spotbugs + spotbugs + ${spotbugs.version} + + + -- 2.11.0 (Apple Git-81)