<?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>xyz.derivora</groupId>
        <artifactId>derivora-properties</artifactId>
        <version>0.1.0</version>
    </parent>

    <artifactId>derivora-properties-impl</artifactId>
    <version>0.1.0</version>
    <packaging>jar</packaging>

    <name>Derivora Properties Implementation</name>
    <description>A Java module that implements the API of the Derivora Properties API module.</description>
    <inceptionYear>2025</inceptionYear>
    <url>https://gitlab.com/derivora/derivora-properties/derivora-properties-impl</url>

    <licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:git:https://gitlab.com/derivora/derivora-properties/derivora-properties-impl.git</connection>
        <developerConnection>
            scm:git:ssh://gitlab.com/derivora/derivora-properties/derivora-properties-impl.git
        </developerConnection>
        <tag>v0.1.0</tag>
        <url>https://gitlab.com/derivora/derivora-properties/derivora-properties-impl</url>
    </scm>

    <issueManagement>
        <system>GitLab</system>
        <url>https://gitlab.com/derivora/derivora-properties/derivora-properties-impl/-/issues</url>
    </issueManagement>

    <properties>
        <derivora.properties.support.version>0.1.0</derivora.properties.support.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>xyz.derivora</groupId>
            <artifactId>derivora-properties-support</artifactId>
            <version>${derivora.properties.support.version}</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-nop</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
            </resource>
            <resource>
                <directory>${project.basedir}</directory>
                <targetPath>META-INF</targetPath>
                <includes>
                    <include>LICENSE</include>
                    <include>NOTICE</include>
                </includes>
            </resource>
        </resources>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <environmentVariables>
                        <DERIVORA_PROPERTY_KEY>value</DERIVORA_PROPERTY_KEY>
                    </environmentVariables>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>