<?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>org.qinan</groupId>
        <artifactId>safety-eval-service</artifactId>
        <version>1.0-SNAPSHOT</version>
    </parent>

    <artifactId>safety-eval-infrastructure</artifactId>
    <packaging>jar</packaging>
    <name>safety-eval-infrastructure</name>
    <description>基础设施层 - 数据库CRUD、搜索引擎、分布式服务RPC等，领域防腐重任</description>

    <dependencies>
        <!-- Domain层（实现domain层定义的gateway接口） -->
        <dependency>
            <groupId>org.qinan</groupId>
            <artifactId>safety-eval-domain</artifactId>
        </dependency>

        <!-- MyBatis Plus（排除 Jackson 1.x 老依赖，避免类冲突） -->
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.codehaus.jackson</groupId>
                    <artifactId>jackson-mapper-asl</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- MySQL JDBC Driver（运行时必需，Spring Boot 2.7.x BOM管理版本） -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <scope>runtime</scope>
        </dependency>

        <!-- Dubbo（调用其他GBS服务 facade） -->
        <dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo</artifactId>
        </dependency>

        <!-- Spring Boot Starter -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
        </dependency>

        <!-- Lombok -->
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <scope>provided</scope>
        </dependency>


        <dependency>
            <groupId>com.jjb.saas</groupId>
            <artifactId>jjb-saas-application-client</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jjb.saas</groupId>
            <artifactId>jjb-saas-auth-client</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jjb.saas</groupId>
            <artifactId>jjb-saas-framework-facade</artifactId>
        </dependency>

        <dependency>
            <groupId>com.zcloud.gbscommon</groupId>
            <artifactId>zcloud_gbscommon</artifactId>
            <version>1.0.0-SNAPSHOT</version>
        </dependency>

        <!-- X File Storage（多OSS统一文件存储） -->
        <dependency>
            <groupId>org.dromara.x-file-storage</groupId>
            <artifactId>x-file-storage-spring</artifactId>
        </dependency>

        <!-- Aliyun OSS SDK -->
        <dependency>
            <groupId>com.aliyun.oss</groupId>
            <artifactId>aliyun-sdk-oss</artifactId>
        </dependency>
    </dependencies>
</project>