Skip to content

Fix Central publish plugin bug; bump to 0.1.1-SNAPSHOT#3

Merged
thinkingfish merged 1 commit into
mainfrom
claude/java-h2histogram-yehb0p
Jul 12, 2026
Merged

Fix Central publish plugin bug; bump to 0.1.1-SNAPSHOT#3
thinkingfish merged 1 commit into
mainfrom
claude/java-h2histogram-yehb0p

Conversation

@thinkingfish

Copy link
Copy Markdown
Member

Summary

Post-release follow-up. 0.1.0 published to Maven Central successfully — all artifacts (jar, .asc signature, sources, javadoc) are live at systems.iop:h2histogram:0.1.0. But the release workflow exited non-zero due to a client-side bug in the publishing plugin, and main was left on the release version. This PR fixes both.

What happened

central-publishing-maven-plugin 0.7.0 crashes while polling Central's deployment-status endpoint:

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

Central now returns a warnings field in that response which the 0.7.0 model doesn't know about, so Jackson throws. Crucially this happens after the bundle is uploaded and set to auto-publish — which is why 0.1.0 published fine despite the red ❌. Re-running the old workflow was not an option (Central versions are immutable).

Changes

  • Bump central-publishing-maven-plugin 0.7.00.11.0 (current release; tolerates the new response field), so future releases report success accurately.
  • Move the project version 0.1.00.1.1-SNAPSHOT (main + benchmarks module) for post-release development.

Verification

  • mvn -Prelease dependency:resolve-plugins resolves the 0.11.0 plugin.
  • mvn test — 36 tests pass.

No action needed for the 0.1.0 release itself; it's already live. This just makes the next release green.

🤖 Generated with Claude Code

https://claude.ai/code/session_016Bb8BttJZHuy6zh957NMGT


Generated by Claude Code

The 0.1.0 release published to Maven Central successfully, but the
release workflow reported failure: central-publishing-maven-plugin 0.7.0
crashes deserializing Central's deployment-status response now that
Central returns a 'warnings' field the 0.7.0 model doesn't recognize
(UnrecognizedPropertyException). The crash happens after the bundle is
uploaded and set to auto-publish, so the artifacts publish anyway — but
the job exits non-zero.

Bump the plugin to 0.11.0, which handles the new field, so future
releases report success accurately. Also move the project to
0.1.1-SNAPSHOT for post-release development.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016Bb8BttJZHuy6zh957NMGT
@thinkingfish
thinkingfish marked this pull request as ready for review July 12, 2026 21:16
@thinkingfish
thinkingfish merged commit bac7573 into main Jul 12, 2026
2 checks passed
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.

2 participants