<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.kholodilin</groupId>
        <artifactId>spring-boot-idempotency-starter-parent</artifactId>
        <version>1.0.0</version>
    </parent>

    <artifactId>idempotency-core-reactive</artifactId>
    <name>Idempotency Core Reactive</name>
    <description>Reactive (Mono) orchestration for transactional idempotency: SPI and DefaultReactiveIdempotencyService.</description>
    <url>https://github.com/KHolodilin/spring-boot-idempotency-starter</url>
    <scm>
        <connection>scm:git:https://github.com/KHolodilin/spring-boot-idempotency-starter.git</connection>
        <developerConnection>scm:git:git@github.com:KHolodilin/spring-boot-idempotency-starter.git</developerConnection>
        <url>https://github.com/KHolodilin/spring-boot-idempotency-starter</url>
    </scm>

    <dependencies>
        <dependency>
            <groupId>com.kholodilin</groupId>
            <artifactId>idempotency-core</artifactId>
        </dependency>
        <dependency>
            <groupId>io.projectreactor</groupId>
            <artifactId>reactor-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jspecify</groupId>
            <artifactId>jspecify</artifactId>
            <version>1.0.1</version>
        </dependency>

        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.projectreactor</groupId>
            <artifactId>reactor-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-junit-jupiter</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <profiles>
        <profile>
            <id>idempotency-core-test-jar</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.kholodilin</groupId>
                    <artifactId>idempotency-core</artifactId>
                    <type>test-jar</type>
                    <scope>test</scope>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>release</id>
        </profile>
        <profile>
            <id>github-packages</id>
        </profile>
    </profiles>
</project>
