<?xml version="1.0" encoding="UTF-8"?>
<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>

    <parent>
        <groupId>de.horstgernhardt</groupId>
        <artifactId>parentPom</artifactId>
        <version>1.0.0</version>
    </parent>

<!--    <groupId>de.horstgernhardt</groupId>-->
    <artifactId>buildTools-maven-plugin</artifactId>
    <version>1.0.0</version>
    <packaging>maven-plugin</packaging>


    <name>BuildTools Maven Plugin</name>
    <description>
        This plugin provides several goals that can be used in a build pipline, e.g.
        to handle changelog validation and publishing,
        to handle site publishing,
        to enforce requirements to parent POM or
        to generate checksum files for the created artifacts.

        This plugin is used in and optimized for the Hottbox Build Pipeline.
    </description>


    <scm>
        <connection>scm:git:https://bitbucket.org/hottbox/buildtools-maven-plugin.git</connection>
        <developerConnection>scm:git:https://bitbucket.org/hottbox/buildtools-maven-plugin.git</developerConnection>
        <url>https://bitbucket.org/hottbox/buildtools-maven-plugin</url>
        <tag>HEAD</tag>
    </scm>


    <url>https://hottbox.bitbucket.io/${project.artifactId}</url>


    <developers>
        <developer>
            <name>Horst Gernhardt</name>
            <email>hottbox.development@gmx.de</email>
            <url>https://hottbox.bitbucket.io</url>
            <roles>
                <role>Lead Developer</role>
            </roles>
        </developer>
    </developers>


    <licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <comments>
                This software comes "as is".
                Use it at your own risk.
                No warranty or liability is given.
                The software developer/s is/are not responsible for any damage that might be caused by using this software!
            </comments>
            <distribution>repo</distribution>
        </license>
    </licenses>



    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-plugin-plugin</artifactId>
                    <version>3.9.0</version>
                </plugin>

                <!-- Für die Plugin Documentation in der Maven Site unter Project Reports -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-plugin-report-plugin</artifactId>
                    <version>3.9.0</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>



    <dependencies>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-plugin-api</artifactId>
            <version>3.9.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-core</artifactId>
            <version>3.9.2</version>
            <scope>provided</scope>
        </dependency>

        <!-- dependencies to annotations -->
        <dependency>
            <groupId>org.apache.maven.plugin-tools</groupId>
            <artifactId>maven-plugin-annotations</artifactId>
            <version>3.9.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.12.0</version>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.15</version>
        </dependency>

        <!-- https://github.com/TimMoore/mojo-executor -->
        <dependency>
            <groupId>org.twdata.maven</groupId>
            <artifactId>mojo-executor</artifactId>
            <version>2.4.0</version>
        </dependency>

        <!-- für die Sortierung von Versionsnummern -->
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-artifact</artifactId>
            <version>3.9.2</version>
            <scope>provided</scope>
        </dependency>


        <!-- Testing -->
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <version>5.9.3</version>
            <scope>test</scope>
        </dependency>
    </dependencies>


    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-plugin-report-plugin</artifactId>
            </plugin>
        </plugins>
    </reporting>

</project>