<?xml version="1.0" encoding="UTF-8"?>
<!--
    @github  : git@github.com:The-Coca-Cola-Company/kos_sdk_annotations.git
    @project : com.kosdev.kos.sdk.tools:annotations
    @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.tools</groupId>
    <artifactId>annotations</artifactId>
    <version>1.0.4</version>
    <name>SDK Annotations</name>
    <description>kOS SDK Annotations tool</description>
    <url>https://www.kosdev.com</url>
    <licenses>
        <license>
            <name>BSD 3-Clause License</name>
            <url>https://opensource.org/license/bsd-3-clause</url>
        </license>
    </licenses>
    <developers>
        <developer>
            <name>David Spiller</name>
            <email>dspiller@gmail.com</email>
            <organization>kOS</organization>
            <organizationUrl>https://www.kosdev.com</organizationUrl>
        </developer>
    </developers>
    <scm>
        <connection>not-published</connection>
        <developerConnection>not-published</developerConnection>
        <url>not-published</url>
    </scm>


    <properties>
       <maven.compiler.source>17</maven.compiler.source>
       <maven.compiler.target>17</maven.compiler.target>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <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>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.3.1</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                        <phase>generate-sources</phase>
                        <configuration>
                            <forceCreation>true</forceCreation>
                            <includes>
                                <include>readme.md</include>
                            </includes>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    <profiles>        
        <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>
