You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alex Herbert (Jira)" <ji...@apache.org> on 2022/10/01 07:08:00 UTC
[jira] [Created] (RNG-182) Bill of Materials (BOM)
Alex Herbert created RNG-182:
--------------------------------
Summary: Bill of Materials (BOM)
Key: RNG-182
URL: https://issues.apache.org/jira/browse/RNG-182
Project: Commons RNG
Issue Type: New Feature
Components: client-api, core, sampling, simple
Affects Versions: 1.5
Reporter: Alex Herbert
Assignee: Alex Herbert
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)