Skip to content

ci: update the central-publishing plugin past a response it cannot read - #3

Merged
michaeldoehler merged 1 commit into
mainfrom
bump-central-publishing-plugin
Sep 13, 2026
Merged

michaeldoehler merged 1 commit into
mainfrom
bump-central-publishing-plugin

Conversation

@michaeldoehler

Copy link
Copy Markdown
Contributor

com.camelmailer:camelmailer-java:0.1.0 is on Maven Central (jar, sources, javadoc and both signatures all resolve, and a throwaway project compiles against it). The build that published it nevertheless reports failure.

The deployment succeeded and the portal published it; the plugin then choked reading the status response:

UnrecognizedPropertyException: Unrecognized field "warnings"
(class DeploymentApiResponse), not marked as ignorable
(6 known properties: deploymentId, purls, cherryBomUrl, errors, deploymentState, deploymentName)

The portal's API grew a field the client shipped in 0.6.0 does not know and does not ignore. 0.11.0 is the current release and knows it.

Left alone, every future release would publish correctly and then fail its own build. That is the worst shape a release job can have: nobody trusts the red, and eventually nobody reads it.

Same class of problem as the clippy and ruff breakages earlier today: a tool aged relative to the service it talks to, with no code change on our side.

0.1.0 is on Maven Central, and the build that put it there reports
failure. The deployment succeeded, the portal published it, and the
plugin then choked reading the status response:

  UnrecognizedPropertyException: Unrecognized field "warnings"
  (class DeploymentApiResponse), not marked as ignorable

The portal's API grew a field that the client from 0.6.0 does not know
and does not ignore. 0.11.0 knows it.

Left alone, every future release would publish correctly and then fail
its own build, which is the worst shape a release job can have: nobody
would trust the red, and eventually nobody would read it.
@michaeldoehler
michaeldoehler merged commit a4c25ca into main Sep 13, 2026
2 checks passed
@michaeldoehler
michaeldoehler deleted the bump-central-publishing-plugin branch September 13, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant