From 95d9cefea745b834e6ab7e8cefff177bfb1b0e47 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 29 Nov 2018 09:39:17 -0800 Subject: [PATCH] Build: Fix jdbc jar pom to not include deps (#36036) This commit adds back the exclusion of dependencies from the pom file for the jdbc jar, which was accidentally lost in #32014 --- x-pack/plugin/sql/jdbc/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x-pack/plugin/sql/jdbc/build.gradle b/x-pack/plugin/sql/jdbc/build.gradle index 1a4d2313022f7..19c16e553d8fa 100644 --- a/x-pack/plugin/sql/jdbc/build.gradle +++ b/x-pack/plugin/sql/jdbc/build.gradle @@ -67,6 +67,10 @@ publishing { publications { nebula { artifactId = archivesBaseName + pom.withXml { + // Nebula is mistakenly including all dependencies that are already shadowed into the shadow jar + asNode().remove(asNode().dependencies) + } } } }