[ 
https://issues.apache.org/jira/browse/RNG-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Herbert updated RNG-182:
-----------------------------
    Component/s: bom

> Bill of Materials (BOM)
> -----------------------
>
>                 Key: RNG-182
>                 URL: https://issues.apache.org/jira/browse/RNG-182
>             Project: Commons RNG
>          Issue Type: New Feature
>          Components: bom, client-api, core, sampling, simple
>    Affects Versions: 1.5
>            Reporter: Alex Herbert
>            Assignee: Alex Herbert
>            Priority: Minor
>             Fix For: 1.5
>
>
> 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.
> {noformat}
> <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>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to