SpectraLogic / ds3_java_sdk

Apache License 2.0
7 stars 15 forks source link

Generate a ds3 project bill of materials #604

Closed lesserwhirls closed 2 years ago

lesserwhirls commented 2 years ago

The BOM looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <!-- This module was also published with a richer model, Gradle metadata,  -->
  <!-- which should be used instead. Do not delete the following line which  -->
  <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
  <!-- that they should prefer consuming it instead. -->
  <!-- do_not_remove: published-with-gradle-metadata -->
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.spectralogic.ds3</groupId>
  <artifactId>ds3-bom</artifactId>
  <version>5.4.1</version>
  <packaging>pom</packaging>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.spectralogic.ds3</groupId>
        <artifactId>ds3-interfaces</artifactId>
        <version>5.4.1</version>
      </dependency>
      <dependency>
        <groupId>com.spectralogic.ds3</groupId>
        <artifactId>ds3-utils</artifactId>
        <version>5.4.1</version>
      </dependency>
      <dependency>
        <groupId>com.spectralogic.ds3</groupId>
        <artifactId>ds3-metadata</artifactId>
        <version>5.4.1</version>
      </dependency>
      <dependency>
        <groupId>com.spectralogic.ds3</groupId>
        <artifactId>ds3-sdk</artifactId>
        <version>5.4.1</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
</project>

This will allow users to depend on the BOM for a given version and