You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Central publish fails: central-publishing plugin 0.6.0 cannot parse new warnings field #158
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.
Activity