quarkiverse / quarkus-jdbi

Jdbi provides convenient, idiomatic access to relational data in Java
https://jdbi.org/
Apache License 2.0
13 stars 4 forks source link

Resolve Jdbi artifacts with Quarkus Universe BOM #95

Open ghost opened 8 months ago

ghost commented 8 months ago

For most dependencies, we only need to declare implementation(enforcedPlatform("io.quarkus:quarkus-universe-bom:X.Y.Z")) only in Gradle in order to resolve all Quarkus dependencies released with the Quarkus version in question.

Currently, this doesn't work with io.quarkiverse.jdbi:quarkus-jdbi.

Would it be possible to align Jdbi releases in such way?

smil2k commented 8 months ago

@gastaldi Do you know how to achieve this?

gastaldi commented 8 months ago

@smil2k in the Platform, external projects are in separate BOMs (the universe one with everything is not recommended), so maybe the first step would be to create a BOM in your project if not already done?

It wouldn't change a lot as they would have to add a second BOM anyway

smil2k commented 8 months ago

@gastaldi Thanks. The main pom of the project contains a dependency management section, or separate bom package is needed? Do you have a good example?

@vadimvera Are you using other quarkus depenencies from quarkiverse? This plugin is not part of the main quarkus project.

gastaldi commented 8 months ago

@smil2k it must be a separate BOM module, see https://github.com/quarkiverse/quarkus-amazon-services/blob/main/bom/pom.xml for example