diff --git a/ci/scripts/release.sh b/ci/scripts/release.sh index 9852d48e0ba50..fee45e6afc4f8 100755 --- a/ci/scripts/release.sh +++ b/ci/scripts/release.sh @@ -87,7 +87,7 @@ if [[ -n "${BUILDKITE_TAG}" ]]; then gh release upload "${BUILDKITE_TAG}" risectl-"${BUILDKITE_TAG}"-x86_64-unknown-linux.tar.gz echo "--- Release build and upload risingwave connector node jar asset" - cd ${REPO_ROOT}/java && mvn -B package -Dmaven.test.skip=true -Djava.binding.release=true + cd ${REPO_ROOT}/java && mvn -B package -Dmaven.test.skip=true -Dno-build-rust cd connector-node/assembly/target && mv risingwave-connector-1.0.0.tar.gz risingwave-connector-"${BUILDKITE_TAG}".tar.gz gh release upload "${BUILDKITE_TAG}" risingwave-connector-"${BUILDKITE_TAG}".tar.gz fi diff --git a/docker/Dockerfile b/docker/Dockerfile index cb86657957b77..ba0c82972a783 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -107,7 +107,7 @@ RUN mvn dependency:go-offline --fail-never # Besides, rust-maven-plugin sets --target-dir, so the dependencies are built twice. How to dedup? COPY ./ /risingwave -RUN mvn -B package -Dmaven.test.skip=true -Djava.binding.release=true && \ +RUN mvn -B package -Dmaven.test.skip=true -Dno-build-rust && \ mkdir -p /risingwave/bin/connector-node && \ tar -zxvf /risingwave/java/connector-node/assembly/target/risingwave-connector-1.0.0.tar.gz -C /risingwave/bin/connector-node diff --git a/docker/Dockerfile.hdfs b/docker/Dockerfile.hdfs index b23c350038b88..e8dd1988bd6fe 100644 --- a/docker/Dockerfile.hdfs +++ b/docker/Dockerfile.hdfs @@ -52,7 +52,7 @@ RUN cargo fetch && \ chmod +x /risingwave/bin/jeprof && \ mkdir -p /risingwave/lib && cargo clean -RUN cd /risingwave/java && mvn -B package -Dmaven.test.skip=true -Djava.binding.release=true && \ +RUN cd /risingwave/java && mvn -B package -Dmaven.test.skip=true -Dno-build-rust && \ mkdir -p /risingwave/bin/connector-node && \ tar -zxvf /risingwave/java/connector-node/assembly/target/risingwave-connector-1.0.0.tar.gz -C /risingwave/bin/connector-node