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 }