<?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>io.github.kylinn</groupId>
        <artifactId>jydapp-framework-parent</artifactId>
        <version>1.1.0</version>
    </parent>
    <artifactId>jydapp-framework-spring-boot-starter</artifactId>
    <name>jydapp-framework-spring-boot-starter</name>
    <dependencies>
        <dependency>
            <groupId>io.github.kylinn</groupId>
            <artifactId>jydapp-framework-api</artifactId>
            <version>1.1.0</version>
        </dependency>

        <!-- MQ 消费(@JydMessageQueueHandler 自动注册)。1.0.0 发布时漏带,
             消费方拿不到 MessageQueueAutoRegistrar——由 SafeGuardJava 消费验证发现,随下一版本发布修复 -->
        <dependency>
            <groupId>io.github.kylinn</groupId>
            <artifactId>jydapp-framework-event</artifactId>
            <version>1.1.0</version>
        </dependency>

        <!-- AI 模块可选启用：应用显式引入 jydapp-framework-ai 并配置 jyd.ai.enabled=true -->
        <dependency>
            <groupId>io.github.kylinn</groupId>
            <artifactId>jydapp-framework-ai</artifactId>
            <version>1.1.0</version>
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>junit-jupiter</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>postgresql</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <includes>
                        <include>**/*Test.java</include>
                        <include>**/*IT.java</include>
                    </includes>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
