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
This commit is contained in:
chrislu
2025-11-22 17:50:14 -08:00
parent b018588c14
commit f71e3448b4
@@ -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