<?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>
        <groupId>online.skyopen</groupId>
        <artifactId>iplatform-3</artifactId>
        <version>3.1.6</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>deploy-jar-template</artifactId>
    <name>deploy-jar-template</name>
    <packaging>jar</packaging>

    <properties>
        <!-- 打包时排除该模块，2023-12-07 -->
        <maven.install.skip>true</maven.install.skip>
        <maven.deploy.skip>true</maven.deploy.skip>
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>iplatform-base</artifactId>
        </dependency>
        <!-- 引入web安全认证模块，如果不引入则不会做任何权限拦截（这种模式通常可用于快速测试）, 2022/10/31 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>iplatform-base-security</artifactId>
        </dependency>

        <!-- 系统基础模块界面管理控制模块，2022/11/16 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>iplatform-base-admin</artifactId>
        </dependency>

        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>iplatform-jdbc-generator</artifactId>
        </dependency>
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>iplatform-ml-similarity</artifactId>-->
<!--        </dependency>-->

        <!-- 引入文件管理模块，集成方式，2023/02/13 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>iplatform-file-server</artifactId>
        </dependency>

        <!-- 平台缓存提供系统redis支持，2022/09/21 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>walker-support-redis</artifactId>-->
<!--        </dependency>-->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>walker-support-redis</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>online.skyopen</groupId>
                    <artifactId>walker-cache</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!--
        引入注册中心客户端，实现管理端负载均衡，2022/12/28
        如果单机部署模式，需要注释掉该依赖。
        <dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
        </dependency>
        -->

        <!--
         支付模块集成测试，2023-02-25
         目前为第一种方式：集成到系统中
         -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>iplatform-pay-server</artifactId>
        </dependency>

        <!-- tcp通信模块引入，可配置是否开启：包括聊天功能基础等。2023-04-17 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>iplatform-base-tcp</artifactId>-->
<!--        </dependency>-->

        <!-- 由业务显式引入支付插件'通商云支付模块'，不引入不会加载该模块。2023-03-01 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>walker-pay-support-allinpaycloud</artifactId>-->
<!--            <exclusions>-->
<!--                <exclusion>-->
<!--                    <groupId>online.skyopen</groupId>-->
<!--                    <artifactId>walker-pay</artifactId>-->
<!--                </exclusion>-->
<!--            </exclusions>-->
<!--        </dependency>-->
        <!-- 由业务显式引入支付插件'微信v2支付模块'，不引入不会加载该模块。2023-03-01 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>walker-pay-support-wechat</artifactId>
            <version>${walker-dependencies.version}</version>
        </dependency>

        <!-- 由业务显式引入支付插件'畅联四方支付模块'，不引入不会加载该模块。2023-10-30 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>walker-pay-support-payunk</artifactId>
            <version>${walker-dependencies.version}</version>
        </dependency>

        <!-- 使用达梦数据库，如果使用其他数据库则去掉该配置。2023-03-03 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>walker-jdbc-support-dameng</artifactId>-->
<!--        </dependency>-->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>walker-jdbc-support-oracle</artifactId>-->
<!--        </dependency>-->

        <!-- 测试报表（积木）。2023-03-08 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>iplatform-report</artifactId>-->
<!--        </dependency>-->

        <!-- 阿里druid数据库连接池，如果使用直接引入到业务发布模块中，2023-03-15 -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
        </dependency>

        <!-- 模拟使用了阿里短信模块,2023-04-24 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>walker-push-sms-alidy</artifactId>
        </dependency>
        <!-- 模拟使用了通用邮件模块,2023-04-24 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>walker-push-mail</artifactId>-->
<!--        </dependency>-->
        <!-- 启用微信公众号消息模块,2023-08-26 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>walker-push-wx-public</artifactId>
        </dependency>
        <!-- 启用Rocket队列消息模块，聊天集群使用,2023-09-26 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>walker-push-rocketmq</artifactId>-->
<!--        </dependency>-->

        <!-- 测试商户功能模块，2023-06-01 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>ishop-merchant</artifactId>
        </dependency>

        <!-- 测试移动端，2023-06-23 -->
        <dependency>
            <groupId>online.skyopen</groupId>
            <artifactId>ishop-mobile</artifactId>
        </dependency>

        <!-- 测试mongo聊天写入，2023-07-07 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>iplatform-base-chat</artifactId>-->
<!--        </dependency>-->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>walker-jdbc-support-mongo</artifactId>-->
<!--        </dependency>-->

        <!-- 测试聊天websocket长连接引入通信模块，2023-07-07 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>iplatform-base-tcp</artifactId>-->
<!--        </dependency>-->
        <!-- 不知道为啥tcp包总是无法打出去，2023-09-27 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>walker-tcp</artifactId>-->
<!--        </dependency>-->

        <!-- 测试报表功能，如果使用请去掉注释，2023-08-24 -->
<!--        <dependency>-->
<!--            <groupId>online.skyopen</groupId>-->
<!--            <artifactId>iplatform-report</artifactId>-->
<!--        </dependency>-->

        <!-- 配置文件加密，2023-12-02 -->
<!--        <dependency>-->
<!--            <groupId>org.jasypt</groupId>-->
<!--            <artifactId>jasypt</artifactId>-->
<!--        </dependency>-->

    </dependencies>

    <build>
        <finalName>iplatform-framework</finalName>
        <plugins>
            <plugin>
                <!--能够自动寻找springboot引导类，或者手动指定-->
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <version>${spring-boot.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
                <version>${maven-deploy-plugin.version}</version>
                <executions>
                    <execution>
                        <id>default-deploy</id>
                        <phase>deploy</phase>
                        <goals>
                            <goal>deploy</goal>
                        </goals>
                        <!-- skip默认deploy插件的执行 -->
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>
