<?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>metric-backend-platform</artifactId>
        <version>2.0.0-release.2-fix3</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>hussar-metric-starter</artifactId>
    <name>${project.artifactId}</name>
    <packaging>jar</packaging>
    <description>指标平台统一依赖启动器</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>
        <!-- EL 表达式依赖，供 Hibernate Validator 使用 -->
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.el</artifactId>
            <version>3.0.0</version>
        </dependency>

        <!-- 公共模块 -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-common</artifactId>
        </dependency>

        <!-- 模型模块 Server (会自动传递依赖 model-api) -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-model-server</artifactId>
        </dependency>

        <!-- 管理模块 Server (会自动传递依赖 manage-api) -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-manage-server</artifactId>
        </dependency>

        <!-- 计算模块 Server (会自动传递依赖 calculate-api) -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-calculate-server</artifactId>
        </dependency>

        <!-- 应用模块 Server (会自动传递依赖 application-api) -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-metric-application-server</artifactId>
        </dependency>

        <!-- 消息模块 Server (会自动传递依赖 message-fs-api) -->
        <dependency>
            <groupId>com.jxdinfo.hussar</groupId>
            <artifactId>hussar-message-fs-server</artifactId>
        </dependency>

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

        <dependency>
            <groupId>com.jxdinfo.hussar.support.data.engine</groupId>
            <artifactId>hussar-data-engine-plugin-datasource</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>
                    <skip>false</skip>
                    <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>
                <configuration>
                    <skip>false</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
