Skip to content

Wait up to an hour for Maven Central to publish a release - #22

Merged
codesensedev merged 1 commit into
mainfrom
691-central-wait-time
Nov 25, 2026
Merged

codesensedev merged 1 commit into
mainfrom
691-central-wait-time

Conversation

@codesensedev

Copy link
Copy Markdown
Member

The release job publishes through the Central Portal and waits until Maven Central has published the bundle. central-publishing-maven-plugin stops waiting after 1800 seconds by default. For 0.38.0 that ran out five minutes before Central published the version, so the job failed and skipped its changelog commit and GitHub release until it was re-run.

What changes

  • pom.xml: the release profile sets waitMaxTime to 3600 on central-publishing-maven-plugin, beside waitUntil published. The release job has no timeout-minutes, so GitHub's default of six hours leaves room for the longer wait.

How it was checked

  • mvn help:describe on the plugin's 0.12.0 lists waitMaxTime, in seconds, with a default of 1800.
  • mvn -P release help:effective-pom shows <waitMaxTime>3600</waitMaxTime> in the plugin's configuration.
  • mvn test passes.

Work: 691

The plugin's default half hour ran out before Central published 0.38.0.

Work: 691
@codesensedev
codesensedev merged commit a21ffc9 into main Nov 25, 2026
3 checks passed
@codesensedev
codesensedev deleted the 691-central-wait-time branch November 25, 2026 10:35
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