Skip to content

Maven release with UnrecognizedPropertyException Exception #117

Description

@walterxie

ci-publish.yml threw UnrecognizedPropertyException but jars were uploaded : central-publishing-maven-plugin:0.6.0 crashes

https://github.com/CompEvol/beast3/actions/runs/28343179883/job/83961449105#annotation:8:50240

Error:  Failed to execute goal org.sonatype.central:central-publishing-maven-plugin:0.6.0:publish (injected-central-publishing) on project beast-fx: Execution injected-central-publishing of goal org.sonatype.central:central-publishing-maven-plugin:0.6.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: 422] (through reference chain: org.sonatype.central.publisher.client.model.DeploymentApiResponse["warnings"])
Error:  -> [Help 1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions