<?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>

    <groupId>com.dlink</groupId>
    <artifactId>dlink</artifactId>
    <packaging>pom</packaging>
    <version>0.6.0-SNAPSHOT</version>

    <modules>
        <module>dlink-common</module>
        <module>dlink-client</module>
        <module>dlink-gateway</module>
        <module>dlink-function</module>
        <module>dlink-metadata</module>
        <module>dlink-connectors</module>
        <module>dlink-executor</module>
        <module>dlink-extends</module>
        <module>dlink-alert</module>
        <module>dlink-daemon</module>
        <module>dlink-core</module>
        <module>dlink-app</module>
        <module>dlink-web</module>
        <module>dlink-admin</module>
        <module>dlink-assembly</module>
    </modules>

    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <spring-boot-dependencies.version>2.6.3</spring-boot-dependencies.version>
        <hutool.version>5.1.4</hutool.version>
        <druid-starter>1.2.8</druid-starter>
        <mybatis-plus-boot-starter.version>3.4.0</mybatis-plus-boot-starter.version>
        <lombok.version>1.18.16</lombok.version>
        <jackjson.version>2.11.4</jackjson.version>
        <guava.version>21.0</guava.version>
        <mysql-connector-java.version>8.0.22</mysql-connector-java.version>
        <ojdbc8.version>12.2.0.1</ojdbc8.version>
        <clickhouse.version>0.2.6</clickhouse.version>
        <postgresql.version>42.2.14</postgresql.version>
        <banner.version>1.0.2</banner.version>
        <hibernate-validator.version>6.2.0.Final</hibernate-validator.version>
        <!--<flyway.version>6.4.4</flyway.version>-->
        <sa-token.version>1.28.0</sa-token.version>
        <commons-lang3.version>3.3.2</commons-lang3.version>
        <httpclient.version>4.4.1</httpclient.version>
        <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
        <maven-assembly-plugin.version>3.2.0</maven-assembly-plugin.version>
        <maven.resource.version>3.2.0</maven.resource.version>
        <junit.version>4.12</junit.version>
        <!--  `provided` for product environment ,`compile` for dev environment  -->
        <scope.runtime>provided</scope.runtime>
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- hutool java工具类库  -->
            <dependency>
                <groupId>cn.hutool</groupId>
                <artifactId>hutool-all</artifactId>
                <version>${hutool.version}</version>
            </dependency>
            <!-- druid 官方 starter -->
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>druid-spring-boot-starter</artifactId>
                <version>${druid-starter}</version>
            </dependency>
            <!-- mybatis-plus start -->
            <dependency>
                <groupId>com.baomidou</groupId>
                <artifactId>mybatis-plus-boot-starter</artifactId>
                <version>${mybatis-plus-boot-starter.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-dependencies</artifactId>
                <version>${spring-boot-dependencies.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <version>${lombok.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-annotations</artifactId>
                <version>${jackjson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-databind</artifactId>
                <version>${jackjson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>${guava.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>${commons-lang3.version}</version>
            </dependency>
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>${mysql-connector-java.version}</version>
            </dependency>
            <dependency>
                <groupId>com.oracle.database.jdbc</groupId>
                <artifactId>ojdbc8</artifactId>
                <version>${ojdbc8.version}</version>
            </dependency>
            <dependency>
                <groupId>ru.yandex.clickhouse</groupId>
                <artifactId>clickhouse-jdbc</artifactId>
                <version>${clickhouse.version}</version>
            </dependency>
            <dependency>
                <groupId>org.postgresql</groupId>
                <artifactId>postgresql</artifactId>
                <version>${postgresql.version}</version>
            </dependency>
            <dependency>
                <groupId>com.nepxion</groupId>
                <artifactId>banner</artifactId>
                <version>${banner.version}</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-validator</artifactId>
                <version>${hibernate-validator.version}</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.version}</version>
                <scope>provided</scope>
            </dependency>
            <!-- flyway -->
            <!--<dependency>
                <groupId>org.flywaydb</groupId>
                <artifactId>flyway-core</artifactId>
                <version>${flyway.version}</version>
            </dependency>-->
            <dependency>
                <groupId>cn.dev33</groupId>
                <artifactId>sa-token-spring-boot-starter</artifactId>
                <version>${sa-token.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-core</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-client-base</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-client-1.12</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-client-1.13</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-client-1.14</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-client-1.11</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-connector-jdbc-1.12</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-connector-jdbc-1.13</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-function</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-common</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-metadata-base</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-metadata-mysql</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-metadata-oracle</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-metadata-sqlserver</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-metadata-postgresql</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-metadata-clickhouse</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-metadata-doris</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-metadata-phoenix</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-gateway</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-executor</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-client-hadoop</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-alert-base</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.dlink</groupId>
                <artifactId>dlink-daemon</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpclient</artifactId>
                <version>${httpclient.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
</project>
