<?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-report-application</artifactId>
        <version>2.11.0</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>hussar-report-feign</artifactId>
    <packaging>jar</packaging>

    <name>${project.artifactId}</name>
    <description>报表远程适配（微服务启动工程引入，单体工程不引入）</description>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <!-- 1. 本能力 api：业务接口 + 远程契约 + DTO/VO -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-report-application-api</artifactId>
        </dependency>

        <!-- 2. 平台 cloud api -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-base-cloud-api</artifactId>
        </dependency>

        <!-- 3. cloud 公共包 -->
        <dependency>
            <groupId>com.jxdinfo.hussar.platform.cloud</groupId>
            <artifactId>hussar-cloud-common</artifactId>
        </dependency>

        <!-- 4. Feign 支持包，由宿主提供 -->
        <dependency>
            <groupId>com.jxdinfo.hussar.platform.cloud</groupId>
            <artifactId>hussar-cloud-support-feign</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- 5. 远程服务名配置 -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-base-remote-config</artifactId>
        </dependency>
    </dependencies>

    <build>
        <finalName>${project.artifactId}-${project.version}</finalName>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>${maven.compiler.source}</source>
                    <target>${maven.compiler.target}</target>
                    <encoding>${maven.compiler.encoding}</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
                <version>2.8.2</version>
            </plugin>
        </plugins>
        <resources>
            <resource>
                <directory>${project.basedir}/src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>

</project>
