<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.persagy</groupId>
        <artifactId>saas-platform</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    </parent>
    <artifactId>saas-sso</artifactId>

    <dependencies>
        <!-- 依赖集成自定义jar -->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>saas-common</artifactId>
        </dependency>
        <!-- 使用集成注册中心、配置中心 -->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-config-client</artifactId>
        </dependency>
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-ribbon-spring-boot-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-swagger2-spring-boot-starter</artifactId>
        </dependency>
       <!-- <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-db-spring-boot-starter</artifactId>
        </dependency>-->
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-redis-spring-boot-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>integrated-common-security</artifactId>
        </dependency>
        <!-- mysql -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
        </dependency>

        <!-- web -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <!-- rabbitmq -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-amqp</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>

        <!--多数据源配置-->
<!--        <dependency>
            <groupId>com.persagy</groupId>
            <artifactId>fm-mybatis</artifactId>
            <version>3.0.0</version>
            <scope>compile</scope>
        </dependency>-->

        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
            <version>3.3.1</version>
        </dependency>

        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid-spring-boot-starter</artifactId>
            <version>1.2.3</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
            <version>3.4.1</version>
            <optional>true</optional>
        </dependency>

    </dependencies>

    <build>
        <finalName>saas-sso</finalName>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>