<?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>

    <groupId>at.aros</groupId>
    <artifactId>aros-result</artifactId>
    <version>1.0.0</version>
    <packaging>jar</packaging>

    <name>aros-result</name>
    <description>Exception-free Result/AppError library for AROS applications (Go-style error chains with typed error details).</description>

    <properties>
        <java.version>25</java.version>
        <junit.version>5.14.4</junit.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <owner>ortwin</owner>
    </properties>

    <repositories>
        <repository>
            <id>gitea</id>
            <url>https://git.angermeier-technik.at/api/packages/${owner}/maven</url>
        </repository>
    </repositories>
    <distributionManagement>
        <repository>
            <id>gitea</id>
            <url>https://git.angermeier-technik.at/api/packages/${owner}/maven</url>
        </repository>
        <snapshotRepository>
            <id>gitea</id>
            <url>https://git.angermeier-technik.at/api/packages/${owner}/maven</url>
        </snapshotRepository>
    </distributionManagement>

    <dependencies>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <version>${junit.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.13.0</version>
                <configuration>
                    <release>${java.version}</release>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>3.5.3</version>
            </plugin>
        </plugins>
    </build>

</project>