From 484afe0afbbb3531374683162d5c73f40e83adc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Sun, 19 May 2019 09:35:18 -0700 Subject: [PATCH] exclude hadoop system dependency ambari depends on hadoop-annotation. Under linux, it sometimes activates a maven profile that includes an explicit dependency on ${java.home}/../lib/tools.jar This change excludes this dependency, since this jar is no longer included with Java 9. It also seems seems unlikely that we would require this dependency at runtime, since it is only enabled on some platforms. --- extensions-contrib/ambari-metrics-emitter/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extensions-contrib/ambari-metrics-emitter/pom.xml b/extensions-contrib/ambari-metrics-emitter/pom.xml index 761a19d9a7d..47bd42e2435 100644 --- a/extensions-contrib/ambari-metrics-emitter/pom.xml +++ b/extensions-contrib/ambari-metrics-emitter/pom.xml @@ -61,6 +61,12 @@ org.codehaus.jackson jackson-mapper-asl + + + jdk.tools + jdk.tools +