<?xml version="1.0" encoding="UTF-8"?>
<!--
  - This POM file is a BOM that describes the versions of api-core,
  - api-dispense, and api-freestyle that exist in each kOS release.
  -
  - For a new release:
  -  1) set the project.version value, which is the release's version
  -  2) set the project.propeties.api-core/dispense/freestyle versions associted with this release
  - > These steps are performed automatically by the kos_builder project <
  -
  - The special "0.0.0-SNAPSHOT" version is the bleeding edge of the code base.
  -
  - @github  : git@github.com:The-Coca-Cola-Company/kos_bom.git
  - @project : com.kosdev.kos.sdk.bom:kos-bom
  - @author  : Rob Stoecklein
  - @version : 2024-05-01
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <!-- ====== Basics =============================================================== -->
  <groupId>com.kosdev.kos.sdk.bom</groupId>
  <artifactId>kos-bom</artifactId>
  <version>1.6.2</version>
  <packaging>pom</packaging>
  <name>${project.groupId}:${project.artifactId}</name>
  <description>kOS SDK Bill-of-Materials</description>
  <url>https://kosdev.com</url>
  <!-- ====== Licenses ============================================================= -->
  <licenses>
    <license>
      <name>BSD 3-Clause License</name>
      <url>https://opensource.org/license/bsd-3-clause</url>
    </license>
  </licenses>
  <!-- ====== Developers =========================================================== -->
  <developers>
    <developer>
      <name>David Vogt</name>
      <email>david@kondra.com</email>
      <organization>Kondra</organization>
      <organizationUrl>https://kondra.com</organizationUrl>
    </developer>
  </developers>
  <!-- ====== Source Code Control ================================================== -->
  <scm>
    <connection>unpublished</connection>
    <developerConnection>unpublished</developerConnection>
    <url>unpublished</url>
  </scm>
  <!-- ====== Properties =========================================================== -->
  <properties>
    <api-core.version>1.6.2</api-core.version>
    <api-dispense.version>1.6.2</api-dispense.version>
    <api-freestyle.version>1.6.2</api-freestyle.version>
    <api-cms.version>1.6.2</api-cms.version>
  </properties>
  <!-- ====== Dependency Management ================================================ -->
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.kosdev.kos.sdk.api</groupId>
        <artifactId>api-core</artifactId>
        <version>${api-core.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>com.kosdev.kos.sdk.api</groupId>
        <artifactId>api-dispense</artifactId>
        <version>${api-dispense.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>com.kosdev.kos.sdk.api</groupId>
        <artifactId>api-freestyle</artifactId>
        <version>${api-freestyle.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>com.kosdev.kos.sdk.api</groupId>
        <artifactId>api-cms</artifactId>
        <version>${api-cms.version}</version>
        <scope>provided</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <!-- We must generate a -javadoc JAR file to publish on Maven Central, also we must 
         generate a sources JAR file -->
  <!-- <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>3.3.0</version>
                <executions>
                    <execution>
                        <id>empty-javadoc-jar</id>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                        <configuration>
                            <classifier>javadoc</classifier>
                            <classesDirectory>${basedir}/javadoc</classesDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build> -->
  <!-- ====== Profiles ============================================================= -->
  <profiles>
    <!-- automation creates a complete output suitable for publishing to Maven Central -->
    <profile>
      <id>automation</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>3.2.4</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>package</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
