<?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.persagy</groupId>
        <artifactId>apm-package</artifactId>
        <version>v1.0.0-SNAPSHOT</version>
    </parent>

    <artifactId>energy-eq-run-diagnose</artifactId>
    <version>v1.0.0</version>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
    </properties>

    <repositories>
        <repository>
            <id>integrated</id>
            <name>releases Repository</name>
            <url>http://47.93.132.139:8081/nexus/content/repositories/integrated/</url>
        </repository>
        <repository>
            <id>persagy</id>
            <name>persagy Repository</name>
            <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
        </repository>

        <repository>
            <id>snapshot</id>
            <name>snapshot Repository</name>
            <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
        <!-- 项目启动 -->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>apm-server</artifactId>
        </dependency>
        <!-- apm 工具包 -->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>apm-common</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>com.persagy</groupId>
                    <artifactId>integrated-redis-spring-boot-starter</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- lang -->
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
        </dependency>

        <!-- gson json,java对象互转 -->
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
        </dependency>
        <!-- 配置中心(包含注册中心) -->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-config-client</artifactId>
        </dependency>

        <!-- 日志 -->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-log-spring-boot-starter</artifactId>
        </dependency>

        <!-- feign -->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-ribbon-spring-boot-starter</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-logging</artifactId>
                </exclusion>
<!--                <exclusion>-->
<!--                    <groupId>io.lettuce</groupId>-->
<!--                    <artifactId>lettuce-core</artifactId>-->
<!--                </exclusion>-->
            </exclusions>
        </dependency>
        <dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
        </dependency>

        <!-- swagger -->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-swagger2-spring-boot-starter</artifactId>
        </dependency>

        <!--jep 公式解析-->
        <dependency>
            <groupId>org.scijava</groupId>
            <artifactId>jep</artifactId>
            <version>2.4.2</version>
        </dependency>

        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>apm-mybatis</artifactId>
        </dependency>

        <dependency>
            <groupId>com.persagy.apm</groupId>
            <artifactId>alarm-data-starter</artifactId>
            <version>v1.0.0-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>com.persagy.apm</groupId>
            <artifactId>collect-data-starter</artifactId>
            <version>v1.0.0-SNAPSHOT</version>
        </dependency>

        <dependency>
            <groupId>com.persagy.apm</groupId>
            <artifactId>alarm-engine-starter</artifactId>
            <version>v1.0.0-SNAPSHOT</version>
        </dependency>

        <!-- actuator:查询项目状态;项目上线需要把这个包注释掉,不然会有安全风险 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>
    </dependencies>
</project>