<?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>ruoyi</artifactId>
        <groupId>com.ruoyi</groupId>
        <version>3.8.7.3.4</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>ruoyi-oauth</artifactId>

    <properties>
        <justauth.version>1.16.6</justauth.version>
        <alipay.version>3.7.4.ALL</alipay.version>
        <dysmsapi.version>2.0.24</dysmsapi.version>
    </properties>

    <description>
        第三方认证模块
    </description>
    <dependencyManagement>
        <dependencies>
            <!-- 第三方认证通用工具-->
            <dependency>
                <groupId>com.ruoyi</groupId>
                <artifactId>ruoyi-oauth-common</artifactId>
                <version>${ruoyi.version}</version>
            </dependency>

            <!-- justauth第三方认证框架 -->
            <dependency>
                <groupId>me.zhyd.oauth</groupId>
                <artifactId>JustAuth</artifactId>
                <version>${justauth.version}</version>
            </dependency>

            <!-- 支付宝开发者sdk -->
            <dependency>
                <groupId>com.alipay.sdk</groupId>
                <artifactId>alipay-sdk-java</artifactId>
                <version>${alipay.version}</version>
            </dependency>

            <!-- 阿里云短信认证 -->
            <dependency>
                <groupId>com.aliyun</groupId>
                <artifactId>dysmsapi20170525</artifactId>
                <version>${dysmsapi.version}</version>
            </dependency>

            <!-- justauth通用认证 -->
            <dependency>
                <groupId>com.ruoyi</groupId>
                <artifactId>ruoyi-oauth-justauth</artifactId>
                <version>${ruoyi.version}</version>
            </dependency>

            <!-- 微信小程序和公众号认证 -->
            <dependency>
                <groupId>com.ruoyi</groupId>
                <artifactId>ruoyi-oauth-wx</artifactId>
                <version>${ruoyi.version}</version>
            </dependency>

            <!-- 手机号认证 -->
            <dependency>
                <groupId>com.ruoyi</groupId>
                <artifactId>ruoyi-oauth-phone</artifactId>
                <version>${ruoyi.version}</version>
            </dependency>

            <!-- 邮箱认证 -->
            <dependency>
                <groupId>com.ruoyi</groupId>
                <artifactId>ruoyi-oauth-email</artifactId>
                <version>${ruoyi.version}</version>
            </dependency>

            <!-- 第三方登录启动器 -->
            <dependency>
                <groupId>com.ruoyi</groupId>
                <artifactId>ruoyi-oauth-starter</artifactId>
                <version>${ruoyi.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>


    <modules>
        <module>ruoyi-oauth-common</module>
        <module>ruoyi-oauth-justauth</module>
        <module>ruoyi-oauth-wx</module>
        <module>ruoyi-oauth-phone</module>
        <module>ruoyi-oauth-email</module>
        <module>ruoyi-oauth-starter</module>
    </modules>
    <packaging>pom</packaging>
</project>