1 Star 0 Fork 0

ruan/学习sharding-jdbc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 12.57 KB
一键复制 编辑 原始数据 按行查看 历史
ruan 提交于 2020-03-19 15:40 . update
<?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.1.6.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.bdqn</groupId>
<artifactId>sharding-jdbc-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>sharding-jdbc-test</name>
<description>学习sharding-jdbc</description>
<properties>
<java.version>1.8</java.version>
</properties>
<!-- <dependencies>-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>com.dangdang</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>sharding-jdbc-core</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>1.5.4</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.apache.shardingsphere</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>sharding-jdbc-spring-boot-starter</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>4.0.0-RC1</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash; https://mvnrepository.com/artifact/mysql/mysql-connector-java &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>mysql</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>mysql-connector-java</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>8.0.17</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash; https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>com.baomidou</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>mybatis-plus-boot-starter</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>3.2.0</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash; https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>com.alibaba</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>druid-spring-boot-starter</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>1.1.16</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.springframework.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>spring-boot-configuration-processor</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <optional>true</optional>&ndash;&gt;-->
<!-- &lt;!&ndash; </ dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; https://mvnrepository.com/artifact/org.projectlombok/lombok &ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.projectlombok</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>lombok</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>1.18.10</version>&ndash;&gt;-->
<!-- &lt;!&ndash; <scope>provided</scope>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>io.springfox</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>springfox-swagger2</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>2.9.2</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>io.springfox</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>springfox-swagger-ui</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>2.9.2</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.springframework.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>spring-boot-starter</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.springframework.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>spring-boot-starter-test</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.springframework.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>spring-boot-starter-web</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash;前123&ndash;&gt;-->
<!-- &lt;!&ndash;&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.springframework.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>spring-boot-starter-data-jpa</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.springframework.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>spring-boot-starter-web</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.springframework.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>spring-boot-devtools</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <scope>runtime</scope>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>mysql</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>mysql-connector-java</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <scope>runtime</scope>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.springframework.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>spring-boot-starter-test</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <scope>test</scope>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash; lombok &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.projectlombok</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>lombok</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <optional>true</optional>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash; druid &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>com.alibaba</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>druid</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>1.1.9</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash; sharding-jdbc &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>com.dangdang</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>sharding-jdbc-core</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>1.5.4</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>org.projectlombok</groupId>-->
<!-- <artifactId>lombok</artifactId>-->
<!-- <optional>true</optional>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.baomidou</groupId>-->
<!-- <artifactId>mybatis-plus-boot-starter</artifactId>-->
<!-- <version>3.2.0</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; <dependency>&ndash;&gt;-->
<!-- &lt;!&ndash; <groupId>org.mybatis.spring.boot</groupId>&ndash;&gt;-->
<!-- &lt;!&ndash; <artifactId>mybatis-spring-boot-starter</artifactId>&ndash;&gt;-->
<!-- &lt;!&ndash; <version>1.3.2</version>&ndash;&gt;-->
<!-- &lt;!&ndash; </dependency>&ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>mysql</groupId>-->
<!-- <artifactId>mysql-connector-java</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.alibaba</groupId>-->
<!-- <artifactId>druid-spring-boot-starter</artifactId>-->
<!-- <version>1.1.10</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.shardingsphere</groupId>-->
<!-- <artifactId>sharding-jdbc-spring-boot-starter</artifactId>-->
<!-- <version>4.0.0-RC1</version>-->
<!-- </dependency>-->
<!-- </dependencies>-->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- sharding -->
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
<version>4.0.0-RC1</version>
</dependency>
<!-- mybatis-plus -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.2.0</version>
</dependency>
<!--阿里数据库连接池 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.14</version>
</dependency>
<!-- mysql -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.18</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/ruanhaoxin/sharding-jdbc-test.git
git@gitee.com:ruanhaoxin/sharding-jdbc-test.git
ruanhaoxin
sharding-jdbc-test
学习sharding-jdbc
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385