From ae5a349a54e7358e8fa9ab23cfafe6554dd7d8d7 Mon Sep 17 00:00:00 2001 From: Slim Date: Thu, 19 Jan 2017 11:49:08 -0800 Subject: [PATCH] Exclude the transitive dependency LGPL jar since it is not needed (#3865) * Exclude the transitive dependency LGPL jar since it is not needed * add reason why exclude * exclude from the root dependency * add banning tool to enforce exclusions --- api/pom.xml | 4 ++++ pom.xml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/api/pom.xml b/api/pom.xml index 8dbd653c9fa..9029a9317a0 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -83,6 +83,10 @@ commons-io commons-io + + com.google.code.findbugs + jsr305 + diff --git a/pom.xml b/pom.xml index 40ce8549925..d032c5a4bb8 100644 --- a/pom.xml +++ b/pom.xml @@ -200,6 +200,13 @@ io.airlift airline 0.7 + + + + com.google.code.findbugs + annotations + + org.skife.config @@ -807,6 +814,30 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 1.4.1 + + + enforce-banned-dependencies + + enforce + + + + + + + com.google.code.findbugs:annotations + + + + true + + + +