<?xml version="1.0" encoding="UTF-8"?>
<!--

        This file is part of the 'SquashAutomation Tm Libraries' project.
        Copyright (C) 2023 - 2026 Henix, https://www.henix.fr - All Rights Reserved

        Unauthorized copying of this file, via any medium is strictly prohibited
        Proprietary and confidential

-->
<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>org.squashtest.squash.automation</groupId>
        <artifactId>tm-libraries</artifactId>
        <version>1.16.0.RC1</version>
    </parent>

    <artifactId>tm-commons</artifactId>
    <name>SquashTm Commons</name>

    <properties>
        <root.module.baseDir>${project.parent.basedir}</root.module.baseDir>
        <commons.io.version>2.14.0</commons.io.version>
    </properties>


    <dependencies>
        <dependency>
            <groupId>org.opentestfactory</groupId>
            <artifactId>otf-dto</artifactId>
            <version>${java.toolkit.version}</version>
            <exclusions>
                <!-- The Micronaut serialization engine and its Jackson 2 cortege are of no use to
                     the consumers of this library. The annotations we compile against are declared
                     in the parent pom, in provided scope, so that they stop here. -->
                <exclusion>
                    <groupId>io.micronaut.serde</groupId>
                    <artifactId>micronaut-serde-jackson</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.micronaut</groupId>
                    <artifactId>micronaut-jackson-databind</artifactId>
                </exclusion>
                <!-- Saxon-HE (and its xmlresolver satellites) only serves XmlReportTransformer,
                     the single otf-utils class that no consumer of this library calls. -->
                <exclusion>
                    <groupId>net.sf.saxon</groupId>
                    <artifactId>Saxon-HE</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- Test dependencies. -->
        <!-- The tests serialize with plain Jackson 2. It used to reach them through the
             micronaut-jackson-databind excluded above, so it is now declared explicitly.
             jackson-databind brings jackson-core along. -->
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>${commons.io.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <version>${junit.jupiter.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>
