Skip to content

Bump central-publishing-maven-plugin (0.6.0 crashes on Sonatype's new 'warnings' response field) #62

Description

@dmealing

During the 7.4.0 release, mvn -Prelease deploy failed with UnrecognizedPropertyException: Unrecognized field "warnings" from central-publishing-maven-plugin:0.6.0 parsing Sonatype Central's deployment response. Cosmetic — all 15 modules published fine (autoPublish), but mvn exits non-zero, which is alarming mid-release and could mask a real failure.

Sonatype added a warnings field to DeploymentApiResponse; plugin 0.6.0 doesn't tolerate unknown fields. Bump the plugin to ≥0.7.0 in server/java/pom.xml (line ~439) and verify on the next Maven release. Until then, the release runbook notes to verify via repo1 + ignore the crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolingCLI, packaging, contracts, MCP

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions