Skip to content

ci(java): central-publishing-maven-plugin 0.12.0, so the bundle has only the artifact files - #61

Merged
lihautan merged 1 commit into
mainfrom
fix/java-central-bundle
Nov 4, 2026
Merged

lihautan merged 1 commit into
mainfrom
fix/java-central-bundle

Conversation

@lihautan

@lihautan lihautan commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The sai-sdk-java-v0.1.0 publish (run) built, tested, signed and uploaded, then Central rejected the deployment:

Deployment 6a1464b9-… failed
common:
 - Bundle has content that does NOT have a .pom file: ai/simular/sai-sdk

Building the bundle locally with 0.7.0 (-DskipPublishing) shows why: next to 0.1.0/… it contains ai/simular/sai-sdk/maven-metadata-local.xml and 0.1.0/_remote.repositories*, which Maven's local-install step writes. 0.12.0 knows both names and leaves them out of the bundle (they're in its classes; 0.7.0 only knew maven-metadata-central-staging.xml). Same configuration otherwise.

Nothing was published, so 0.1.0 is still free on Central. Once this merges, the Java release goes out again (re-tag 0.1.0 on the new main, or bump to 0.1.1).

🤖 Generated with Claude Code

…nly the artifact files

The sai-sdk-java-v0.1.0 deployment failed on Central: "Bundle has content that does NOT have a
.pom file: ai/simular/sai-sdk". 0.7.0 staged Maven's maven-metadata-local.xml and
_remote.repositories into the bundle; 0.12.0 leaves them out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lihautan
lihautan merged commit 782c28f into main Nov 4, 2026
10 checks passed
@lihautan
lihautan deleted the fix/java-central-bundle branch November 4, 2026 05:06
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