Skip to content

fix: split publish-central into per-module deploys - #265

Merged
ifsantana merged 2 commits into
mainfrom
fix/publish-central-split-modules
Aug 17, 2026
Merged

fix: split publish-central into per-module deploys#265
ifsantana merged 2 commits into
mainfrom
fix/publish-central-split-modules

Conversation

@ifsantana

Copy link
Copy Markdown
Collaborator

Summary

  • finance.idem:idem-sdk-kotlin:0.1.0 never landed on Maven Central despite the v0.1.0 release's publish-central job reporting success. Verified against repo1.maven.org: idem-core latest is 0.1.0, idem-sdk-kotlin latest is still 0.0.12-test.
  • Cause: the job ran one combined mvn deploy -pl core,sdk-kotlin. Both modules independently carry central-publishing-maven-plugin (extensions=true), which rebinds the deploy phase. In that combined reactor, idem-sdk-kotlin's signed artifacts get staged into idem-core's target/central-staging dir, and only one bundle actually gets uploaded/published as a Central component — idem-core's. idem-sdk-kotlin was built, signed, and staged but never became its own deployment.
  • Fix: split the job into two independent single-module mvn deploy invocations (-pl core, then -pl sdk-kotlin), so each gets its own isolated staging dir, bundle, and deployment.

Test plan

  • Next release publishes both idem-core and idem-sdk-kotlin at the same version, verified via repo1.maven.org/maven2/finance/idem/{idem-core,idem-sdk-kotlin}/maven-metadata.xml.
  • idem-sdk-kotlin:0.1.0 is backfilled separately via a one-off manual deploy (not blocked on this PR).

A combined 'mvn deploy -pl core,sdk-kotlin' lets central-publishing-maven-plugin
(extensions=true) share one central-staging dir across both reactor projects,
and only the last project's bundle actually gets uploaded as its own Central
component. idem-sdk-kotlin:0.1.0 was built, signed, and staged in the v0.1.0
release but never published as a result. Splitting into two independent
single-module deploys gives each its own staging dir, bundle, and deployment.
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@ifsantana
ifsantana merged commit d39952e into main Aug 17, 2026
1 check 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.

1 participant