Thanks for the clarification. I'm usually the one pushing for using more
plugins in our projects and even I had missed some of these nuances.

I was planning to finally revive my blog and one of the ideas was how to
improve the CI/CD pipeline. Consistency and avoiding unintentional addition
of transitive dependencies are big elements of that. I'll try to capture
this and submit it your your review.  Unfortunately that may be a few
months down the road. :-(

Bear

On Sat, Mar 29, 2025 at 12:52 PM Piotr P. Karwasz <pi...@mailing.copernik.eu>
wrote:

> Hi,
>
> On 29.03.2025 14:20, Enrico Olivelli wrote:
> > libraries that publish many artifacts that are meant to be used all with
> > the same version publish a BOM (Bill of Materials) and then you import it
> > in the dependencyManagement section
> >
> > Like this:
> > https://github.com/FasterXML/jackson-bom
>
> For completeness' sake Gradle has a feature to import the BOM into
> dependency management if you use any artifact in the BOM:
>
> https://blog.gradle.org/alignment-with-gradle-module-metadata
>
> This feature might be useful in the Maven world too, although it can
> also be replaced with [<version>] ranges.
>
> Piotr
>

Reply via email to