diff --git a/packaging/hudi-flink-bundle/pom.xml b/packaging/hudi-flink-bundle/pom.xml index f92f4149dad7..e21f6f771942 100644 --- a/packaging/hudi-flink-bundle/pom.xml +++ b/packaging/hudi-flink-bundle/pom.xml @@ -25,7 +25,7 @@ ../../pom.xml 4.0.0 - tis-hudi-flink-bundle_${scala.binary.version}_hive_${hive.version} + tis-hudi-flink-bundle_${scala.binary.version}_hive_${hive.version}_spark_${spark.version} jar diff --git a/packaging/hudi-utilities-bundle/pom.xml b/packaging/hudi-utilities-bundle/pom.xml index 1a0865225573..639987e6d921 100644 --- a/packaging/hudi-utilities-bundle/pom.xml +++ b/packaging/hudi-utilities-bundle/pom.xml @@ -23,7 +23,7 @@ ../../pom.xml 4.0.0 - tis-hudi-utilities-bundle_${scala.binary.version} + tis-hudi-utilities-bundle_${scala.binary.version}_hive_${hive.version}_spark_${spark.version} jar diff --git a/pom.xml b/pom.xml index f8aeabcffb0e..66ef91f6f78b 100644 --- a/pom.xml +++ b/pom.xml @@ -211,9 +211,9 @@ maven-shade-plugin ${maven-shade-plugin.version} - true - with-spark-${spark.version} - false + true + false + diff --git a/tisInstall.sh b/tisInstall.sh index b9ede565a745..da17f011775f 100644 --- a/tisInstall.sh +++ b/tisInstall.sh @@ -5,9 +5,9 @@ #MVN_PROFILE="spark3,flink-bundle-shade-hive3" compileAndDeploy(){ -MVN_PROFILE = $1 +MVN_PROFILE="$1" echo "compile and deploy with maven profile:$MVN_PROFILE " -mvn deploy -P$MVN_PROFILE \ +mvn clean deploy -P$MVN_PROFILE \ -Dmaven.test.skip=true \ -pl hudi-flink,hudi-common\ ,packaging/hudi-flink-bundle\