The following error appears when deploying releases to Maven Central using older versions of the central-publishing-maven-plugin:
[ERROR] Failed to execute goal org.sonatype.central:central-publishing-maven-plugin:0.7.0:publish (injected-central-publishing) on project jruby-dist: Execution injected-central-publishing of goal org.sonatype.central:central-publishing-maven-plugin:0.7.0:publish failed: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "warnings" (class org.sonatype.central.publisher.client.model.DeploymentApiResponse), not marked as ignorable (6 known properties: "deploymentId", "purls", "cherryBomUrl", "errors", "deploymentState", "deploymentName"])
[ERROR] at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1, column: 712] (through reference chain: org.sonatype.central.publisher.client.model.DeploymentApiResponse["warnings"])
I don't have an explanation for the error, but did fine one reference saying that updating the plugin eliminates it:
https://github.com/HiAPIAI/hiapi-java/blob/main/PUBLISHING.md
The following error appears when deploying releases to Maven Central using older versions of the central-publishing-maven-plugin:
I don't have an explanation for the error, but did fine one reference saying that updating the plugin eliminates it:
https://github.com/HiAPIAI/hiapi-java/blob/main/PUBLISHING.md