<?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.jxdinfo.hussar</groupId>
        <artifactId>hussar-metric-agent</artifactId>
        <version>2.1.3-fix.2</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>hussar-metric-agent-mcp</artifactId>
    <packaging>jar</packaging>
    <name>${project.artifactId}</name>
    <description>指标 MCP 工具包（可独立摘除：不加载时在 hussar-metric-agent/pom.xml、hussar-metric-starter/pom.xml、hussar-metric-web/pom.xml 中注释掉即可）</description>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>1.8</java.version>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
    </properties>

    <dependencies>
        <!-- MCP 服务端框架（提供 @HussarMCPComponent 注解、MCP 端点与工具注册） -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-agent-starter</artifactId>
        </dependency>

        <!-- 智能问数服务接口（ChatBiService）与工具实现所在模块（复用 MergeParamUtil 参数合并） -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-agent-api</artifactId>
        </dependency>

        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-agent-server</artifactId>
        </dependency>

        <!-- ChatBI 向量检索 -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>iqa-chatbi</artifactId>
        </dependency>

        <!-- 平台基础能力（SecurityUser/GenerateUserUtil/ApiResponse 等） -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-core</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-common</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jxdinfo.hussar.support.security</groupId>
            <artifactId>hussar-security-core</artifactId>
        </dependency>

        <!-- 指标/数据集元数据（MetricInfoMapper、MetricsDatasetFieldMapper、FilterDto） -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-manage-server</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-model-server</artifactId>
        </dependency>
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-calculate-api</artifactId>
        </dependency>

        <!-- 指标视图数据查询服务 -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-application-api</artifactId>
        </dependency>
    </dependencies>
</project>
