| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?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">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.sckw</groupId>
- <artifactId>sckw-common</artifactId>
- <version>1.0.0</version>
- </parent>
- <artifactId>sckw-common-datasource</artifactId>
- <version>1.0.0</version>
- <description>多数据源</description>
- <properties>
- <maven.compiler.source>17</maven.compiler.source>
- <maven.compiler.target>17</maven.compiler.target>
- <maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <mysql.version>8.0.30</mysql.version>
- <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
- <dynamic-datasource.version>3.6.1</dynamic-datasource.version>
- <latest.release.version>5.2.0</latest.release.version>
- </properties>
- <dependencies>
- <!--mysql-->
- <dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- </dependency>
- <!--mybatis-plus 依赖-->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-boot-starter</artifactId>
- <version>${mybatis-plus.version}</version>
- </dependency>
- <!--多数据源-->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
- <version>${dynamic-datasource.version}</version>
- </dependency>
- <!--ShardingSphere-JDBC-->
- <dependency>
- <groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
- <version>${latest.release.version}</version>
- </dependency>
- </dependencies>
- </project>
|