<?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.jxdinfo.document</groupId>
        <artifactId>document-parent</artifactId>
        <version>2.2.1</version>
        <relativePath>../document-parent/pom.xml</relativePath>
    </parent>

    <artifactId>document-api</artifactId>
    <version>2.2.1</version>
    <packaging>jar</packaging>

    <name>${project.artifactId}</name>
    <description>智能报告公共 API：业务接口、可序列化 DTO 与 REST 契约</description>

    <dependencies>
        <!-- 平台统一接口返回类型 ApiResponse。 -->
        <dependency>
            <groupId>com.jxdinfo.hussar.support</groupId>
            <artifactId>hussar-platform-core</artifactId>
            <scope>provided</scope>
        </dependency>
        <!-- REST 契约使用 Spring Web 映射注解，运行时由服务端或 Feign 宿主提供。 -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <scope>provided</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <!-- document-parent 当前默认跳过编译，API 模块必须真正执行编译校验。 -->
                    <skip>false</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
