even better if we have a BOM for whole apache commons.
________________________________
From: Gary Gregory <garydgreg...@gmail.com>
Sent: Thursday, September 29, 2022 8:05:14 PM
To: Commons Developers List <dev@commons.apache.org>
Subject: Re: [rng] Release 1.5 with Bill Of Materials (BOM)

That sounds like a good idea!

Gary

On Thu, Sep 29, 2022 at 5:27 AM Alex Herbert <alex.d.herb...@gmail.com>
wrote:

> I think RNG is ready for a release.
>
> In 1.5 the multi-module project rearranges a few methods to default
> interface methods in a different module. This is binary compatible. However
> it requires that all versions of the modules are matched. If the other
> modules are explicitly imported by a transitive dependency as a lower
> version then this will cause a runtime error due to missing methods.
>
> I suggest we create a Bill of Materials (BOM) as a separate artifact to be
> deployed to maven for dependency management. Downstream users can then
> include this in their POM and all versions of the RNG modules would be
> matched.
>
> <dependencyManagement>
>     <dependencies>
>         <dependency>
>             <groupId>org.apache.commons</groupId>
>             <artifactId>commons-rng-bom</artifactId>
>             <version>1.5</version>
>             <type>pom</type>
>             <scope>import</scope>
>         </dependency>
>     </dependencies>
> </dependencyManagement>
>
> Alex
>

Reply via email to