You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
3.1 KiB
XML
92 lines
3.1 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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baiye</groupId>
|
|
<artifactId>sharding-demo</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<modules>
|
|
<module>sharding-multiple-data-sources</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<spring.boot.version>2.3.2.RELEASE</spring.boot.version>
|
|
</properties>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
</dependency>
|
|
|
|
<!-- for spring boot -->
|
|
<dependency>
|
|
<groupId>org.apache.shardingsphere</groupId>
|
|
<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
|
|
<version>4.1.1</version>
|
|
</dependency>
|
|
|
|
<!-- for spring namespace -->
|
|
<dependency>
|
|
<groupId>org.apache.shardingsphere</groupId>
|
|
<artifactId>sharding-jdbc-spring-namespace</artifactId>
|
|
<version>4.1.1</version>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>8.0.25</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
<version>3.4.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.20</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<!--集成Durid-->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>1.2.4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
</project> |