Problem
After fixing the 401 (#156), the Central upload now authenticates and the deployment is accepted, but the response parsing fails:
UnrecognizedPropertyException: Unrecognized field "warnings" (class DeploymentApiResponse), not marked as ignorable (6 known properties: "deploymentId", "purls", "cherryBomUrl", "errors", "deploymentState", "deploymentName")
Root cause
The Sonatype Central Portal API began returning a new warnings field in the deployment response; central-publishing-maven-plugin 0.6.0 has a strict Jackson model without it and blows up after a successful upload.
Fix
Bump the plugin to a current version (0.8.0+) in the parent pom, which knows the new response fields.
Problem
After fixing the 401 (#156), the Central upload now authenticates and the deployment is accepted, but the response parsing fails:
UnrecognizedPropertyException: Unrecognized field "warnings" (class DeploymentApiResponse), not marked as ignorable (6 known properties: "deploymentId", "purls", "cherryBomUrl", "errors", "deploymentState", "deploymentName")Root cause
The Sonatype Central Portal API began returning a new
warningsfield in the deployment response;central-publishing-maven-plugin0.6.0 has a strict Jackson model without it and blows up after a successful upload.Fix
Bump the plugin to a current version (0.8.0+) in the parent pom, which knows the new response fields.