<?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>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.2.13.RELEASE</version>
        <relativePath/>
    </parent>

    <groupId>com.keyware.shandan</groupId>
    <artifactId>shandan</artifactId>
    <packaging>pom</packaging>
    <version>1.0.0</version>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
        <spring.boot.starter.version>2.2.13.RELEASE</spring.boot.starter.version>
        <alibaba.fastjson.version>1.2.70</alibaba.fastjson.version>
        <commons.beanutils.version>1.8.0</commons.beanutils.version>
        <commons.collections.version>3.2.2</commons.collections.version>
        <apache.commons.codec.version>1.8</apache.commons.codec.version>
        <bcprov.jdk16.version>1.46</bcprov.jdk16.version>
        <oshi.json.version>3.6.1</oshi.json.version>
        <alibaba.druid.starter.version>1.2.6</alibaba.druid.starter.version>
        <mybatis.plus.starter.version>3.4.3</mybatis.plus.starter.version>
        <mybatis.plus.extension.version>3.4.3</mybatis.plus.extension.version>
        <dynamic-datasource-starter.version>3.3.6</dynamic-datasource-starter.version>
        <mybatis.plus.generator.version>1.4.5</mybatis.plus.generator.version>
        <hutool.all.version>4.6.4</hutool.all.version>
        <springframework.web.version>5.2.12.RELEASE</springframework.web.version>
        <spring.security.oauth2.autoconfigure.version>2.1.3.RELEASE</spring.security.oauth2.autoconfigure.version>
        <Dm8JdbcDriver18.version>8.1.1.49</Dm8JdbcDriver18.version>
        <!--<elasticsearch>6.8.14</elasticsearch>
        <elasticsearch.version>6.8.14</elasticsearch.version>
        <spring.boot.starter.data.elasticsearch.version>2.2.13.RELEASE</spring.boot.starter.data.elasticsearch.version>
        <spring.data.elasticsearch.version>3.2.13.RELEASE</spring.data.elasticsearch.version>-->
    </properties>

    <dependencies>
        <!--lombok插件 -->
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>
        <!-- 阿里巴巴JSON插件-->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>${alibaba.fastjson.version}</version>
        </dependency>

    </dependencies>
    <dependencyManagement>
        <dependencies>
            <!-- springboot web(MVC)-->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-web</artifactId>
                <version>${spring.boot.starter.version}</version>
            </dependency>

            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>${springframework.web.version}</version>
                <scope>compile</scope>
            </dependency>
            <!-- springboot -->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-test</artifactId>
                <version>${spring.boot.starter.version}</version>
                <scope>test</scope>
            </dependency>

            <!--aop 面向切面-->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-aop</artifactId>
                <version>${spring.boot.starter.version}</version>
            </dependency>

            <!-- springboot websocket -->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-websocket</artifactId>
                <version>${spring.boot.starter.version}</version>
            </dependency>

            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-configuration-processor</artifactId>
                <version>${spring.boot.starter.version}</version>
                <optional>true</optional>
            </dependency>

            <!-- security安全校验 -->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-security</artifactId>
                <version>${spring.boot.starter.version}</version>
            </dependency>

            <dependency>
                <groupId>org.springframework.security.oauth.boot</groupId>
                <artifactId>spring-security-oauth2-autoconfigure</artifactId>
                <version>${spring.security.oauth2.autoconfigure.version}</version>
            </dependency>

            <!-- thymeleaf模板 -->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-thymeleaf</artifactId>
                <version>${spring.boot.starter.version}</version>
            </dependency>

            <!-- CopyUtil需要用到 -->
            <dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
                <version>${commons.beanutils.version}</version>
            </dependency>
            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <version>${commons.collections.version}</version>
            </dependency>

            <!-- Base64编码需要  -->
            <dependency>
                <groupId>org.apache.directory.studio</groupId>
                <artifactId>org.apache.commons.codec</artifactId>
                <version>${apache.commons.codec.version}</version>
            </dependency>

            <!--提供更多的加密、填充方式-->
            <dependency>
                <groupId>org.bouncycastle</groupId>
                <artifactId>bcprov-jdk16</artifactId>
                <version>${bcprov.jdk16.version}</version>
            </dependency>

            <!--https://github.com/oshi/oshi。-->
            <dependency>
                <groupId>com.github.oshi</groupId>
                <artifactId>oshi-json</artifactId>
                <version>${oshi.json.version}</version>
            </dependency>

            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>druid-spring-boot-starter</artifactId>
                <version>${alibaba.druid.starter.version}</version>
            </dependency>

            <!--mybatis plus 数据持久化层-->
            <dependency>
                <groupId>com.baomidou</groupId>
                <artifactId>mybatis-plus-boot-starter</artifactId>
                <version>${mybatis.plus.starter.version}</version>
            </dependency>
            <dependency>
                <groupId>com.baomidou</groupId>
                <artifactId>mybatis-plus-extension</artifactId>
                <version>${mybatis.plus.extension.version}</version>
            </dependency>

            <!-- mybatis plus 多数据源 -->
            <dependency>
                <groupId>com.baomidou</groupId>
                <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
                <version>${dynamic-datasource-starter.version}</version>
            </dependency>

            <!--基于mybatis plus的数据库反向代码生成工具-->
            <dependency>
                <groupId>com.github.davidfantasy</groupId>
                <artifactId>mybatis-plus-generator-ui</artifactId>
                <version>${mybatis.plus.generator.version}</version>
                <scope>test</scope>
            </dependency>

            <dependency>
                <groupId>cn.hutool</groupId>
                <artifactId>hutool-all</artifactId>
                <version>${hutool.all.version}</version>
                <scope>compile</scope>
            </dependency>

            <!--达梦数据库驱动-->
            <!--达梦数据库驱动-->
            <dependency>
                <groupId>com.dameng</groupId>
                <artifactId>Dm8JdbcDriver18</artifactId>
                <version>${Dm8JdbcDriver18.version}</version>
            </dependency>
        </dependencies>

    </dependencyManagement>

    <modules>
        <!-- 框架公共模块 -->
        <module>shandan-common</module>
        <!-- 统一认证服务 -->
        <module>shandan-oauth</module>
        <!-- 系统模块 -->
        <module>shandan-system</module>
        <!-- 数据分类编目子系统 -->
        <module>shandan-bianmu</module>
        <!-- 数据综合浏览子系统 -->
        <module>shandan-browser</module>
        <!-- 应用桌面子系统 -->
        <module>shandan-desktop</module>
        <!-- 数据管控子系统 -->
        <module>shandan-control</module>
        <!-- 基础数据子模块 -->
        <module>shandan-basedata</module>
    </modules>
</project>