Skip to content

Fix Maven version derivation (v1.0.0 release collided at 0.50.0) - #343

Open
jgowdy wants to merge 1 commit into
mainfrom
fix-maven-version-derivation
Open

Fix Maven version derivation (v1.0.0 release collided at 0.50.0)#343
jgowdy wants to merge 1 commit into
mainfrom
fix-maven-version-derivation

Conversation

@jgowdy

@jgowdy jgowdy commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

The v1.0.0 release's Maven publish failed with a 409 Conflict: the workflow derived the Java version as 0.50.<git-tag-patch>, and v1.0.0 → patch 00.50.0, which already exists in GitHub Packages (from the old v0.5.0 release).

Fix: derive the next 0.50.x from the latest published version in the GitHub Packages maven-metadata.xml and increment — tag-independent and collision-free. (This release's Java artifact was already published manually as 0.50.116 via workflow_dispatch.)

…it tag

The Java artifact version was derived as 0.50.<git-tag-patch>. That collided once
the repo moved off the v0.5.x tag line: the v1.0.0 release produced patch 0 ->
0.50.0, which already existed in GitHub Packages, failing the deploy with a
409 Conflict.

Derive the next 0.50.x by reading the latest published version from the GitHub
Packages maven-metadata.xml and incrementing - tag-independent, monotonic, and
collision-free.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jgowdy
jgowdy enabled auto-merge (squash) June 20, 2026 03:20
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