mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-14 02:20:41 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user