From c3e9243ea1066adb2f12cf5b9cee82445d61a840 Mon Sep 17 00:00:00 2001 From: jshmchenxi Date: Mon, 4 Jan 2021 12:19:48 +0800 Subject: [PATCH] [MINOR] Add maven profile to support skipping shade sources jars (#2358) Co-authored-by: Xi Chen --- packaging/hudi-flink-bundle/pom.xml | 2 +- packaging/hudi-hadoop-mr-bundle/pom.xml | 2 +- packaging/hudi-hive-sync-bundle/pom.xml | 2 +- packaging/hudi-integ-test-bundle/pom.xml | 2 +- packaging/hudi-presto-bundle/pom.xml | 2 +- packaging/hudi-spark-bundle/pom.xml | 2 +- packaging/hudi-utilities-bundle/pom.xml | 2 +- pom.xml | 13 +++++++++++++ 8 files changed, 20 insertions(+), 7 deletions(-) diff --git a/packaging/hudi-flink-bundle/pom.xml b/packaging/hudi-flink-bundle/pom.xml index 8b158c224..a80931aad 100644 --- a/packaging/hudi-flink-bundle/pom.xml +++ b/packaging/hudi-flink-bundle/pom.xml @@ -51,7 +51,7 @@ shade - true + ${shadeSources} ${project.build.directory}/dependency-reduced-pom.xml diff --git a/packaging/hudi-hadoop-mr-bundle/pom.xml b/packaging/hudi-hadoop-mr-bundle/pom.xml index b12da4cc3..aac99e778 100644 --- a/packaging/hudi-hadoop-mr-bundle/pom.xml +++ b/packaging/hudi-hadoop-mr-bundle/pom.xml @@ -48,7 +48,7 @@ shade - true + ${shadeSources} ${project.build.directory}/dependency-reduced-pom.xml diff --git a/packaging/hudi-hive-sync-bundle/pom.xml b/packaging/hudi-hive-sync-bundle/pom.xml index 7cbf33288..14974d338 100644 --- a/packaging/hudi-hive-sync-bundle/pom.xml +++ b/packaging/hudi-hive-sync-bundle/pom.xml @@ -48,7 +48,7 @@ shade - true + ${shadeSources} ${project.build.directory}/dependency-reduced-pom.xml diff --git a/packaging/hudi-integ-test-bundle/pom.xml b/packaging/hudi-integ-test-bundle/pom.xml index 2e272628b..b648e25a3 100644 --- a/packaging/hudi-integ-test-bundle/pom.xml +++ b/packaging/hudi-integ-test-bundle/pom.xml @@ -47,7 +47,7 @@ shade - true + ${shadeSources} ${project.build.directory}/dependency-reduced-pom.xml diff --git a/packaging/hudi-presto-bundle/pom.xml b/packaging/hudi-presto-bundle/pom.xml index eb50882de..0cca577b4 100644 --- a/packaging/hudi-presto-bundle/pom.xml +++ b/packaging/hudi-presto-bundle/pom.xml @@ -48,7 +48,7 @@ shade - true + ${shadeSources} ${project.build.directory}/dependency-reduced-pom.xml diff --git a/packaging/hudi-spark-bundle/pom.xml b/packaging/hudi-spark-bundle/pom.xml index caa254a11..1e9019921 100644 --- a/packaging/hudi-spark-bundle/pom.xml +++ b/packaging/hudi-spark-bundle/pom.xml @@ -48,7 +48,7 @@ shade - true + ${shadeSources} ${project.build.directory}/dependency-reduced-pom.xml diff --git a/packaging/hudi-utilities-bundle/pom.xml b/packaging/hudi-utilities-bundle/pom.xml index 8aec1844d..542171a89 100644 --- a/packaging/hudi-utilities-bundle/pom.xml +++ b/packaging/hudi-utilities-bundle/pom.xml @@ -49,7 +49,7 @@ shade - true + ${shadeSources} ${project.build.directory}/dependency-reduced-pom.xml diff --git a/pom.xml b/pom.xml index bb6085516..e90f9a249 100644 --- a/pom.xml +++ b/pom.xml @@ -139,6 +139,7 @@ 0.8.5 compile org.apache.hudi. + true @@ -1367,6 +1368,18 @@ + + + skipShadeSources + + false + + + + skipShadeSources + + +