From 09283d32106f8cb6b5e177200a64f600391f3026 Mon Sep 17 00:00:00 2001 From: Chao Sun Date: Fri, 24 Sep 2021 10:16:30 +0800 Subject: [PATCH] [SPARK-36835][BUILD] Enable createDependencyReducedPom for Maven shaded plugin ### What changes were proposed in this pull request? Enable `createDependencyReducedPom` for Spark's Maven shaded plugin so that the effective pom won't contain those shaded artifacts such as `org.eclipse.jetty` ### Why are the changes needed? At the moment, the effective pom leaks transitive dependencies to downstream apps for those shaded artifacts, which potentially will cause issues. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? I manually tested and the `core/dependency-reduced-pom.xml` no longer contains dependencies such as `jetty-XX`. Closes #34085 from sunchao/SPARK-36835. Authored-by: Chao Sun Signed-off-by: Gengliang Wang (cherry picked from commit ed88e610f04a1015cff9b11bea13b87affc29ef3) Signed-off-by: Gengliang Wang --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4a3bd71a90..861ebb2fc5 100644 --- a/pom.xml +++ b/pom.xml @@ -3015,7 +3015,6 @@ maven-shade-plugin false - false org.spark-project.spark:unused