Skip to content

fix(jdbi): publish jdbi bom to consumers#1909

Open
graemerocher wants to merge 2 commits into7.0.xfrom
fix-issue-839-jdbi-bom
Open

fix(jdbi): publish jdbi bom to consumers#1909
graemerocher wants to merge 2 commits into7.0.xfrom
fix-issue-839-jdbi-bom

Conversation

@graemerocher
Copy link
Copy Markdown
Contributor

Summary

  • publish the Jdbi BOM from micronaut-jdbi so downstream Jdbi modules resolve against the same managed version
  • keep jdbi3-core on the managed version while exporting the BOM transitively for consumers
  • verify the module tests and a scratch downstream consumer resolve jdbi3-sqlobject through the transitive BOM

Verification

  • ./gradlew :micronaut-jdbi:test
  • ./gradlew -p /tmp/mn-jdbi-repro-avVwx2 --refresh-dependencies resolveRuntime
  • ./gradlew -p /tmp/mn-jdbi-repro-avVwx2 --refresh-dependencies dependencyInsight --dependency org.jdbi:jdbi3-sqlobject --configuration runtimeClasspath

Resolves #839

Resolves #839

Co-Authored-By: Codex with GPT-5 <[email protected]>
@graemerocher graemerocher added the type: bug Something isn't working label Apr 15, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Publishes the Jdbi BOM from micronaut-jdbi so downstream consumers can resolve Jdbi artifacts against a consistent, managed version set.

Changes:

  • Add the Jdbi3 BOM as an api(platform(...)) dependency in micronaut-jdbi.
  • Keep jdbi3-core as an api dependency while relying on the BOM for version alignment.

Comment thread jdbi/build.gradle Outdated
@radovanradic
Copy link
Copy Markdown
Contributor

verify the module tests and a scratch downstream consumer resolve jdbi3-sqlobject through the transitive BOM

Like Copilot comment suggests, it does not bring jdbi3-sqlobject dependency with version from BOM unless explicitly added

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jdbi3-sqlobject:3.30.0 throws a runtimeClasspath error at compile time

4 participants