You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.8 KiB
80 lines
2.8 KiB
<?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>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-parent</artifactId> |
|
<version>2.2.2.RELEASE</version> |
|
<relativePath/> <!-- lookup parent from repository --> |
|
</parent> |
|
<groupId>com.dreamlyn</groupId> |
|
<artifactId>dynamic</artifactId> |
|
<version>0.0.1</version> |
|
<name>dynamic</name> |
|
<description>动态数据源代码示例</description> |
|
|
|
<properties> |
|
<java.version>1.8</java.version> |
|
</properties> |
|
|
|
<dependencies> |
|
<!--Lombok--> |
|
<dependency> |
|
<groupId>org.projectlombok</groupId> |
|
<artifactId>lombok</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-data-jdbc</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.baomidou</groupId> |
|
<artifactId>mybatis-plus-boot-starter</artifactId> |
|
<version>3.2.0</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-aop</artifactId> |
|
</dependency> |
|
<!-- https://mvnrepository.com/artifact/org.apache.shardingsphere/sharding-jdbc-core --> |
|
<dependency> |
|
<groupId>org.apache.shardingsphere</groupId> |
|
<artifactId>sharding-jdbc-core</artifactId> |
|
<version>4.0.0-RC1</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-test</artifactId> |
|
<scope>test</scope> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.junit.vintage</groupId> |
|
<artifactId>junit-vintage-engine</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>junit</groupId> |
|
<artifactId>junit</artifactId> |
|
<version>4.12</version> |
|
<scope>test</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
</project>
|
|
|