<?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>walker-dependencies-3</artifactId>
        <!--        <version>3.1.6</version>-->
        <version>3.2.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>walker-push-group</artifactId>
    <name>walker-push-group</name>
    <packaging>pom</packaging>

    <modules>
        <module>walker-push-sms-alidy</module>
        <module>walker-push-mail</module>
        <module>walker-push-wx-public</module>
        <module>walker-push-rocketmq</module>
    </modules>

    <properties>
        <ali-dy.version>2.0.23</ali-dy.version>
        <rocketmq-spring-boot-starter.version>2.1.0</rocketmq-spring-boot-starter.version>
    </properties>

    <dependencyManagement>
        <dependencies>

            <!-- 标准邮件推送实现模块。2023-04-23 -->
            <dependency>
                <groupId>online.skyopen</groupId>
                <artifactId>walker-push-mail</artifactId>
                <version>${walker-dependencies.version}</version>
            </dependency>

            <!-- 短信推送实现模块，阿里大鱼。2023-04-23 -->
            <dependency>
                <groupId>online.skyopen</groupId>
                <artifactId>walker-push-sms-alidy</artifactId>
                <version>${walker-dependencies.version}</version>
            </dependency>

            <!-- 引入阿里大鱼短信sdk，2023-04-23 -->
            <dependency>
                <groupId>com.aliyun</groupId>
                <artifactId>alibabacloud-dysmsapi20170525</artifactId>
                <version>${ali-dy.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.github.tomakehurst</groupId>
                        <artifactId>wiremock-standalone</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.bouncycastle</groupId>
                        <artifactId>bcprov-jdk15on</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.jacoco</groupId>
                        <artifactId>org.jacoco.agent</artifactId>
                    </exclusion>

                    <!-- darabonba-java-core 里面需要排除的 -->
                    <exclusion>
                        <groupId>com.google.code.gson</groupId>
                        <artifactId>gson</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.dom4j</groupId>
                        <artifactId>dom4j</artifactId>
                    </exclusion>
                    <!-- 可能要放开 -->
                    <exclusion>
                        <groupId>org.reactivestreams</groupId>
                        <artifactId>reactive-streams</artifactId>
                    </exclusion>

                    <!-- darabonba-java-core 里面需要排除httpclient5，但在模块中需要自己引入规定的版本 -->
<!--                    <exclusion>-->
<!--                        <groupId>com.aliyun</groupId>-->
<!--                        <artifactId>aliyun-http-apache</artifactId>-->
<!--                    </exclusion>-->
                    <exclusion>
                        <groupId>org.powermock</groupId>
                        <artifactId>powermock-reflect</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.httpcomponents.client5</groupId>
                        <artifactId>httpclient5</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.jetbrains</groupId>
                        <artifactId>annotations</artifactId>
                    </exclusion>

                    <!-- aliyun-java-auth 里面要排除的： -->
                    <exclusion>
                        <groupId>org.ini4j</groupId>
                        <artifactId>ini4j</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.powermock</groupId>
                        <artifactId>powermock-api-mockito2</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.powermock</groupId>
                        <artifactId>powermock-module-junit4</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.mockito</groupId>
                        <artifactId>mockito-core</artifactId>
                    </exclusion>

                </exclusions>
            </dependency>

            <!-- 微信公众号推送实现模块。2023-08-21 -->
            <dependency>
                <groupId>online.skyopen</groupId>
                <artifactId>walker-push-wx-public</artifactId>
                <version>${walker-dependencies.version}</version>
            </dependency>

            <!-- 消息队列: RocketMQ 实现模块。2023-09-18 -->
            <dependency>
                <groupId>online.skyopen</groupId>
                <artifactId>walker-push-rocketmq</artifactId>
                <version>${walker-dependencies.version}</version>
            </dependency>

            <!-- RocketMQ Spring 框架依赖。2023-09-18 -->
            <dependency>
                <groupId>org.apache.rocketmq</groupId>
                <artifactId>rocketmq-spring-boot-starter</artifactId>
                <version>${rocketmq-spring-boot-starter.version}</version>
                <exclusions>
                    <exclusion>
                            <groupId>org.slf4j</groupId>
                            <artifactId>slf4j-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-autoconfigure</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-autoconfigure-processor</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-configuration-processor</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter-test</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-messaging</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-core</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-context</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-aop</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-databind</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter-validation</artifactId>
                    </exclusion>

                </exclusions>
            </dependency>

        </dependencies>
    </dependencyManagement>

</project>
