<?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>com.hotent</groupId>
        <artifactId>wms-stock-base</artifactId>
        <version>wms-lite</version>
    </parent>

    <artifactId>wms-stock-base-biz</artifactId>

    <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>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.hotent</groupId>
            <artifactId>base</artifactId>
        </dependency>
        <dependency>
            <groupId>com.hotent</groupId>
            <artifactId>wms-stock-base-entity</artifactId>
        </dependency>
        <!-- 库存统一操作 DTO / 枚举 / Feign Client（v3.0 阶段一） -->
        <dependency>
            <groupId>com.hotent</groupId>
            <artifactId>wms-stock-api</artifactId>
        </dependency>
<!--        <dependency>-->
<!--            <groupId>com.hotent</groupId>-->
<!--            <artifactId>job</artifactId>-->
<!--        </dependency>-->

        <!-- ============ 测试依赖（v3.0 阶段二新增）============ -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <!-- 覆盖根 pom 的全局 <skip>true</skip> 与旧版 2.7.2（仅支持 JUnit3），
                 升级到支持 JUnit 5 (Jupiter) 的现代版本，使本模块测试可执行 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>3.2.5</version>
                <configuration>
                    <skip>false</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>