<?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.tcheeric</groupId>
        <artifactId>identity-plugin</artifactId>
        <version>1.2.7</version>
    </parent>

    <artifactId>identity-api</artifactId>
    <packaging>jar</packaging>
    <name>Identity Plugin - API</name>
    <description>Ports (interfaces) for dependency inversion - Clean Architecture API layer</description>

    <properties>
        <maven.compiler.source>21</maven.compiler.source>
        <maven.compiler.target>21</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <!-- nostr-java types used in port signatures -->
        <dependency>
            <groupId>xyz.tcheeric</groupId>
            <artifactId>nostr-java-base</artifactId>
        </dependency>

        <!-- Depend on domain for domain types used in port signatures -->
        <dependency>
            <groupId>xyz.tcheeric</groupId>
            <artifactId>identity-domain</artifactId>
            <version>${project.version}</version>
        </dependency>

        <!-- Test dependencies only -->
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>
