From 70bd2a8d8b02c4a1d0fa89b7b6b362b2aed1b00a Mon Sep 17 00:00:00 2001 From: Chengcheng Jin Date: Sun, 26 May 2024 19:41:13 +0000 Subject: [PATCH] fix ci --- ep/build-velox/src/build_velox.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ep/build-velox/src/build_velox.sh b/ep/build-velox/src/build_velox.sh index f767b2ddab8ac..c27a863378003 100755 --- a/ep/build-velox/src/build_velox.sh +++ b/ep/build-velox/src/build_velox.sh @@ -282,6 +282,10 @@ function compile_arrow_java_module() { ARROW_INSTALL_DIR="${ARROW_HOME}/../../install" pushd $ARROW_HOME/java + + mvn clean install -pl maven/module-info-compiler-maven-plugin -am \ + -Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip + # Arrow C Data Interface CPP libraries mvn generate-resources -P generate-libs-cdata-all-os -Darrow.c.jni.dist.dir=$ARROW_INSTALL_DIR \ -Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip -N @@ -292,11 +296,11 @@ function compile_arrow_java_module() { -DARROW_GANDIVA=OFF -DARROW_JAVA_JNI_ENABLE_GANDIVA=OFF -DARROW_ORC=OFF -DARROW_JAVA_JNI_ENABLE_ORC=OFF \ -Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip -N - # Arrow Java libraries, only arrow-dataset module version is 15.0.0-gluten, cannot use mvn version set - # because arrow-bom needs many dependency, it will take a very long time to build the dependency - mvn clean install -Parrow-jni -P arrow-c-data -pl maven/module-info-compiler-maven-plugin,c,dataset -am \ + # Arrow Java libraries, only arrow-dataset module version is 15.0.0-gluten, cannot use mvn version:set + # because arrow-bom needs many dependencies, it will take a very long time to build the dependency + mvn clean install -Parrow-jni -P arrow-c-data -pl dataset,c -am \ -Darrow.c.jni.dist.dir=$ARROW_INSTALL_DIR/lib -Darrow.dataset.jni.dist.dir=$ARROW_INSTALL_DIR/lib -Darrow.cpp.build.dir=$ARROW_INSTALL_DIR/lib \ - -DskipTests -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip + -Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip popd }