<?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">
    <parent>
        <artifactId>egc-pro</artifactId>
        <groupId>com.tydic.zl</groupId>
        <version>4.0.0-CLOUD-DEV-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>egc-pro-settle-management</artifactId>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-freemarker</artifactId>
        </dependency>
        <dependency>
            <groupId>com.tydic.zl</groupId>
            <artifactId>egc-pro-settle-repository</artifactId>
        </dependency>
        <dependency>
            <groupId>com.tydic.zl</groupId>
            <artifactId>egc-pro-order-repository</artifactId>
            <version>${project.version}</version>
        </dependency>

        <!--基座utils-->
        <dependency>
            <groupId>com.tydic.zl</groupId>
            <artifactId>basic-utils</artifactId>
        </dependency>
        <!--基座core-->
        <dependency>
            <groupId>com.tydic.zl</groupId>
            <artifactId>basic-core</artifactId>
        </dependency>
        <!--基座rpc-->
        <dependency>
            <groupId>com.tydic.zl</groupId>
            <artifactId>basic-rpc</artifactId>
        </dependency>

        <!--中台插件依赖-->
        <dependency>
            <groupId>com.ohaotian.plugin</groupId>
            <artifactId>plugin-file</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>com.squareup.okio</groupId>
                    <artifactId>okio</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.ohaotian.plugin</groupId>
            <artifactId>plugin-common</artifactId>
        </dependency>
        <dependency>
            <groupId>com.ohaotian.plugin</groupId>
            <artifactId>plugin-cache</artifactId>
        </dependency>
        <dependency>
            <groupId>com.ohaotian.plugin</groupId>
            <artifactId>plugin-mq-client</artifactId>
        </dependency>

        <!-- Spring Boot Test -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <!-- JUnit 4 -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <!-- JUnit Vintage Engine for running JUnit 4 tests -->
        <dependency>
            <groupId>org.junit.vintage</groupId>
            <artifactId>junit-vintage-engine</artifactId>
            <version>5.3.1</version>
            <scope>test</scope>
        </dependency>
        <!-- Mockito -->
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-inline</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
        <jacoco.version>0.8.11</jacoco.version>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>${jacoco.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>report</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>
