Skip to content

[release] bump central-publishing plugin to 0.12.0 - #38

Merged
sharanmoore merged 1 commit into
mainfrom
sharan/central-publishing-0.12
Oct 22, 2026
Merged

sharanmoore merged 1 commit into
mainfrom
sharan/central-publishing-0.12

Conversation

@sharanmoore

Copy link
Copy Markdown
Contributor

Both v1.0.2 release attempts failed at Maven Central validation. Nothing was published.

Why

Sonatype's Publisher API gives the same error for both deployments (d67cf8a0…, 513d463b…):

Bundle has content that does NOT have a .pom file: ai/gradientlabs/gradient-labs-client, ai/gradientlabs/gradient-labs-parent, ai/gradientlabs/gradient-labs-spring-boot-starter

I rebuilt the release bundle in CI using the real release steps (GPG signing, versions:set) but dummy Sonatype credentials, so the upload is rejected and nothing can publish. With central-publishing-maven-plugin 0.6.0, the bundle includes Maven's local-repository bookkeeping files from the staging repo:

  • ai/gradientlabs/<artifact>/maven-metadata-local.xml, at the artifact level outside the version folder. These are the paths Central flags.
  • <artifact>/1.0.2/_remote.repositories

#37 (starter sources and javadoc) was a real gap too, but not the cause of this error.

What

Bump the plugin 0.6.0 → 0.12.0. The publishingServerId, autoPublish and waitUntil config is unchanged.

Testing

Same dummy-credentials CI run with 0.12.0: the bundle has 54 files, all under 1.0.2/, with no maven-metadata-local.xml or _remote.repositories, and all three poms present. The upload then fails only on the dummy credentials.

Releasing after merge

Move tag v1.0.2 to the merge commit; nothing has been published under it.

0.6.0 bundles maven-metadata-local.xml and _remote.repositories from
its staging repo. Central rejects the bundle: "Bundle has content that
does NOT have a .pom file". Both v1.0.2 attempts failed on this.
@sharanmoore
sharanmoore requested a review from a team October 22, 2026 12:18
@sharanmoore
sharanmoore merged commit 3860f11 into main Oct 22, 2026
1 check passed
@sharanmoore
sharanmoore deleted the sharan/central-publishing-0.12 branch October 22, 2026 13:26
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