62 lines
2.3 KiB
XML
62 lines
2.3 KiB
XML
|
<?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>m2pool-common</artifactId>
|
|||
|
<groupId>com.m2pool</groupId>
|
|||
|
<version>3.5.0</version>
|
|||
|
</parent>
|
|||
|
<modelVersion>4.0.0</modelVersion>
|
|||
|
|
|||
|
<artifactId>common-datasource</artifactId>
|
|||
|
|
|||
|
<description>
|
|||
|
多数据源配置
|
|||
|
</description>
|
|||
|
|
|||
|
<dependencies>
|
|||
|
|
|||
|
<!-- Druid -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.alibaba</groupId>
|
|||
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|||
|
<version>${druid.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- Dynamic DataSource -->
|
|||
|
<dependency>
|
|||
|
<groupId>com.baomidou</groupId>
|
|||
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|||
|
<version>${dynamic-ds.version}</version>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- SpringBoot Seata -->
|
|||
|
<!-- 注意一定要引入对版本,要引入spring-cloud版本seata,而不是springboot版本的seata-->
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>com.alibaba.cloud</groupId>-->
|
|||
|
<!-- <artifactId>spring-cloud-starter-alibaba-seata</artifactId>-->
|
|||
|
<!-- <!– 排除掉springcloud默认的seata版本,以免版本不一致出现问题–>-->
|
|||
|
<!-- <exclusions>-->
|
|||
|
<!-- <exclusion>-->
|
|||
|
<!-- <groupId>io.seata</groupId>-->
|
|||
|
<!-- <artifactId>seata-spring-boot-starter</artifactId>-->
|
|||
|
<!-- </exclusion>-->
|
|||
|
<!-- <exclusion>-->
|
|||
|
<!-- <groupId>io.seata</groupId>-->
|
|||
|
<!-- <artifactId>seata-all</artifactId>-->
|
|||
|
<!-- </exclusion>-->
|
|||
|
<!-- </exclusions>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
<!-- <!– 上面排除掉了springcloud默认色seata版本,此处引入和seata-server版本对应的seata包–>-->
|
|||
|
<!-- <dependency>-->
|
|||
|
<!-- <groupId>io.seata</groupId>-->
|
|||
|
<!-- <artifactId>seata-spring-boot-starter</artifactId>-->
|
|||
|
<!-- <version>1.6.1</version>-->
|
|||
|
<!-- </dependency>-->
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</dependencies>
|
|||
|
</project>
|