From 2cf952ee196567c63b047b6ba78d3de0c42b87f9 Mon Sep 17 00:00:00 2001 From: Devesh-Skyflow Date: Mon, 3 Aug 2026 21:29:27 +0530 Subject: [PATCH 1/2] SK-3002 bump central-publishing-maven-plugin to 0.11.0 for the Portal API The flowvault/v1.0.0 release built, tested, signed and uploaded all 11 artifacts, then died reading the Central Portal's reply: UnrecognizedPropertyException: Unrecognized field "warnings" (class org.sonatype.central.publisher.client.model.DeploymentApiResponse), not marked as ignorable The Portal added a "warnings" field to the deployment-status response. Pinned 0.4.0 does not know it and does not ignore unknown properties, so the goal throws - after the bundle is already on the server, which is the worst place to fail. 0.11.0 is the first version that fixes it. Checked every release in between; DeploymentApiResponse fields are: 0.5.0 / 0.7.0 deploymentId, deploymentName, deploymentState, purls, errors, cherryBomUrl 0.8.0 / 0.9.0 / 0.10.0 ... errors 0.11.0 ... errors, warnings So 0.5.0-0.10.0 would all fail identically - there is no smaller bump. tokenAuth is dropped because it stopped being a plugin parameter in 0.5.0; 0.11.0 exposes publishingServerId and autoPublish, both kept. Token auth is now the only mode and comes from the server credentials. 0.11.0 targets Java 8, so it still runs on the release JDK 11. Verified with 'mvn -pl flowvault -am -P maven-central deploy': the 0.11.0 goal resolves, binds and executes with this configuration, no unknown-parameter complaints; it stops only at the missing local 'central' server credentials, which CI supplies. Co-Authored-By: Claude Opus 5 (1M context) --- flowvault/pom.xml | 10 ++++++++-- skyvault/pom.xml | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/flowvault/pom.xml b/flowvault/pom.xml index 2b276145..e30ff575 100644 --- a/flowvault/pom.xml +++ b/flowvault/pom.xml @@ -203,11 +203,17 @@ org.sonatype.central central-publishing-maven-plugin - 0.4.0 + + 0.11.0 true central - true + 0.11.0 true central - true + org.apache.maven.plugins maven-shade-plugin 3.6.0 @@ -95,8 +100,7 @@ shade - true - with-common + ${project.build.directory}/${project.build.finalName}-with-common.jar com.skyflow:common diff --git a/pom.xml b/pom.xml index 50d2382e..e9279fd4 100644 --- a/pom.xml +++ b/pom.xml @@ -232,15 +232,12 @@ org.apache.maven.plugins maven-jar-plugin 3.3.0 - - - - test-jar - - - - - + org.apache.maven.plugins diff --git a/skyvault/pom.xml b/skyvault/pom.xml index 2b4dc4c6..ce14cc82 100644 --- a/skyvault/pom.xml +++ b/skyvault/pom.xml @@ -60,16 +60,18 @@ - + physically inside the two jars it's given. + Written with outputFile rather than shadedArtifactAttached: attaching it made + it a secondary artifact, and attached artifacts are deployed, so a jar + documented here as comparison-only was being published. outputFile keeps it + on disk without attaching. Path unchanged, so japicmp still resolves it. --> org.apache.maven.plugins maven-shade-plugin 3.6.0 @@ -81,8 +83,7 @@ shade - true - with-common + ${project.build.directory}/${project.build.finalName}-with-common.jar com.skyflow:common