<?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.xyzh</groupId>
          <artifactId>urban-lifeline</artifactId>
          <version>1.0.0</version>
    </parent>

    <groupId>org.xyzh</groupId>
    <artifactId>auth</artifactId>
    <version>${urban-lifeline.version}</version>

    <properties>
        <maven.compiler.source>21</maven.compiler.source>
        <maven.compiler.target>21</maven.compiler.target>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.xyzh.apis</groupId>
            <artifactId>api-auth</artifactId>
        </dependency>
        <dependency>
            <groupId>org.xyzh.apis</groupId>
            <artifactId>api-system</artifactId>
        </dependency>
        <dependency>
            <groupId>org.xyzh.apis</groupId>
            <artifactId>api-message</artifactId>
        </dependency>
        <dependency>
            <groupId>org.xyzh.common</groupId>
            <artifactId>common-auth</artifactId>
        </dependency>
        <dependency>
            <groupId>org.xyzh.common</groupId>
            <artifactId>common-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.xyzh.common</groupId>
            <artifactId>common-utils</artifactId>
        </dependency>
        
        <!-- Spring Cloud Nacos Discovery - 用于 Gateway 路由发现 -->
        <dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>com.alibaba.nacos</groupId>
                    <artifactId>nacos-logback-adapter-12</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.alibaba.nacos</groupId>
                    <artifactId>logback-adapter</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        
        <!-- Spring Boot Web -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-logging</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        
        <!-- SpringDoc OpenAPI -->
        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
        </dependency>
    </dependencies>

</project>