Uploaded image for project: 'Commons RNG'
  1. Commons RNG
  2. RNG-182

Bill of Materials (BOM)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.5
    • 1.5
    • bom, client-api, core, sampling, simple
    • None
    • Easy

    Description

      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>
      

      Attachments

        Issue Links

          Activity

            People

              aherbert Alex Herbert
              aherbert Alex Herbert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: