From f71e3448b4c95cbe6cd5aae0a69f0a9b69426637 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 22 Nov 2025 17:50:14 -0800 Subject: [PATCH] ci: skip central-publishing plugin during build - Add -Dcentral.publishing.skip=true to all Maven builds - Central publishing plugin is only needed for Maven Central releases - Prevents plugin resolution errors during CI builds - Complements existing -Dgpg.skip=true flag --- .github/workflows/spark-integration-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spark-integration-tests.yml b/.github/workflows/spark-integration-tests.yml index efa29184a..21845b62d 100644 --- a/.github/workflows/spark-integration-tests.yml +++ b/.github/workflows/spark-integration-tests.yml @@ -61,19 +61,19 @@ jobs: run: | echo "Building Java client (required by HDFS clients)..." cd other/java/client - mvn clean install -DskipTests -Dgpg.skip=true + mvn clean install -DskipTests -Dgpg.skip=true -Dcentral.publishing.skip=true echo "✓ Java client built and installed to local Maven repo" cd ../../.. echo "Building HDFS2 client (depends on Java client)..." cd other/java/hdfs2 - mvn clean install -DskipTests -Dgpg.skip=true + mvn clean install -DskipTests -Dgpg.skip=true -Dcentral.publishing.skip=true echo "✓ HDFS2 client built" cd ../../.. echo "Building HDFS3 client (depends on Java client)..." cd other/java/hdfs3 - mvn clean install -DskipTests -Dgpg.skip=true + mvn clean install -DskipTests -Dgpg.skip=true -Dcentral.publishing.skip=true echo "✓ HDFS3 client built" - name: Prepare artifacts for upload