Browse Source

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
pull/7526/head
chrislu 7 days ago
parent
commit
f71e3448b4
  1. 6
      .github/workflows/spark-integration-tests.yml

6
.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

Loading…
Cancel
Save