<?xml version="1.0" encoding="utf-8"?>
<!--
# This file is part of the pl.wrzasq.cform.
#
# @license http://mit-license.org/ The MIT license
# @copyright 2021 © by Rafał Wrzeszcz - Wrzasq.pl.
-->
<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/maven-v4_0_0.xsd
">
    <modelVersion>4.0.0</modelVersion>

    <!-- core project settings -->
    <artifactId>cform-commons</artifactId>
    <packaging>jar</packaging>
    <parent>
        <groupId>pl.wrzasq.cform</groupId>
        <artifactId>cform</artifactId>
        <version>1.0.2</version>
        <relativePath>../</relativePath>
    </parent>

    <!-- project meta info -->
    <name>Commons library</name>
    <url>https://rafalwrzeszcz-wrzasqpl.github.io/pl.wrzasq.cform/cform-commons/</url>
    <description>CForm generic helpers.</description>
    <inceptionYear>2021</inceptionYear>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>pl/wrzasq/cform/commons/config/**/*.class</exclude>
                        <exclude>pl/wrzasq/cform/commons/model/**/*.class</exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <!-- project dependencies -->
    <dependencies>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
            <version>2.12.3</version>
        </dependency>

        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
            <version>2.12.3</version>
        </dependency>

        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>2.12.3</version>
        </dependency>

        <dependency>
            <groupId>org.json</groupId>
            <artifactId>json</artifactId>
            <version>20210307</version>
        </dependency>

        <dependency>
            <groupId>pl.wrzasq.commons</groupId>
            <artifactId>commons-aws</artifactId>
            <version>2.0.3</version>
        </dependency>

        <dependency>
            <groupId>pl.wrzasq.commons</groupId>
            <artifactId>commons-json</artifactId>
            <version>2.0.3</version>
        </dependency>

        <dependency>
            <groupId>software.amazon.awssdk</groupId>
            <artifactId>regions</artifactId>
            <version>2.16.63</version>
        </dependency>

        <dependency>
            <groupId>software.amazon.cloudformation</groupId>
            <artifactId>aws-cloudformation-rpdk-java-plugin</artifactId>
            <version>2.0.5</version>
            <exclusions>
                <exclusion>
                    <groupId>com.diffplug.spotless</groupId>
                    <artifactId>spotless-maven-plugin</artifactId>
                </exclusion>

                <exclusion>
                    <groupId>software.amazon.awssdk</groupId>
                    <artifactId>netty-nio-client</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>
</project>
