Skip to content

Block the Maven Central plugin until publishing has occurred - #126

Merged
normanrz merged 2 commits into
zarr-developers:mainfrom
sbesson:waituntilpublished
Nov 7, 2026
Merged

normanrz merged 2 commits into
zarr-developers:mainfrom
sbesson:waituntilpublished

Conversation

@sbesson

@sbesson sbesson commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Description

See https://central.sonatype.org/publish/publish-portal-maven/#wait-for-publishing By default the Maven Central publishing plugin waits until the bundle has been uploaded and validated. This commit updates the configuration to block and wait until the publishing has occurred.
Since the maintainer tagging a release is not necessarily the same as the user which token is used for uploading the bundle to Central Portal, this should increase visibility & improve error reporting for all the post-upload steps.

Related issues

See https://github.com/zarr-developers/zarr-java/actions/runs/42014291193 for the latest release workflow

Checklist

See https://central.sonatype.org/publish/publish-portal-maven/#wait-for-publishing
By default the Maven Central publishing plugin waits until the bundle has
been uploaded and validated. This commit updates the configuration to block
and wait until the publishing has occurred.
Since the maintainer tagging a release is not necessarily the same as
the user which token is used for uploading the bundle to Central Portal,
this should increase visibility & improve error reporting for all the
post-upload steps.
@normanrz
normanrz merged commit 00f566b into zarr-developers:main Nov 7, 2026
4 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.

4 participants