184 lines
6.8 KiB
XML
184 lines
6.8 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<parent>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>2.1.3.RELEASE</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<groupId>com.yupi</groupId>
|
||
<artifactId>springboot-init</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<name>springboot-init</name>
|
||
<description>springboot 初始项目</description>
|
||
<properties>
|
||
<java.version>1.8</java.version>
|
||
</properties>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
<!-- 实现对 MyBatis 的自动化配置 -->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>org.mybatis.spring.boot</groupId>-->
|
||
<!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
|
||
<!-- <version>2.1.1</version>-->
|
||
<!-- </dependency>-->
|
||
<!-- 实现对 MyBatis Plus 的自动化配置 -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
<version>3.2.0</version>
|
||
</dependency>
|
||
|
||
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
|
||
<dependency>
|
||
<groupId>com.google.code.gson</groupId>
|
||
<artifactId>gson</artifactId>
|
||
<version>2.9.0</version>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>3.12.0</version>
|
||
</dependency>
|
||
<!-- https://doc.xiaominfo.com/knife4j/documentation/get_start.html-->
|
||
<dependency>
|
||
<groupId>com.github.xiaoymin</groupId>
|
||
<artifactId>knife4j-spring-boot-starter</artifactId>
|
||
<version>3.0.3</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-devtools</artifactId>
|
||
<scope>runtime</scope>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/junit/junit -->
|
||
<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-jdbc</artifactId>
|
||
</dependency>
|
||
<dependency> <!-- 本示例,我们使用 MySQL -->
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<version>5.1.48</version>
|
||
</dependency>
|
||
|
||
<!-- 实现对 MyBatis 的自动化配置 -->
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
<version>2.1.1</version>
|
||
</dependency>
|
||
|
||
<!-- 实现对 Sharding-JDBC 的自动化配置 -->
|
||
<dependency>
|
||
<groupId>org.apache.shardingsphere</groupId>
|
||
<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
|
||
<version>4.0.0-RC2</version>
|
||
</dependency>
|
||
|
||
<!-- 保证 Spring AOP 相关的依赖包 -->
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-aspects</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 方便等会写单元测试 -->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||
<!-- <artifactId>spring-boot-starter-test</artifactId>-->
|
||
<!-- <scope>test</scope>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!--引入Jaxb,开始-->
|
||
<dependency>
|
||
<groupId>com.sun.xml.bind</groupId>
|
||
<artifactId>jaxb-core</artifactId>
|
||
<version>2.2.11</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>javax.xml.bind</groupId>
|
||
<artifactId>jaxb-api</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.sun.xml.bind</groupId>
|
||
<artifactId>jaxb-impl</artifactId>
|
||
<version>2.2.11</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.glassfish.jaxb</groupId>
|
||
<artifactId>jaxb-runtime</artifactId>
|
||
<version>2.2.10-b140310.1920</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>javax.activation</groupId>
|
||
<artifactId>activation</artifactId>
|
||
<version>1.1.1</version>
|
||
</dependency>
|
||
<!--引入Jaxb,结束-->
|
||
|
||
<!-- 保证 Spring AOP 相关的依赖包 -->
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-aspects</artifactId>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<excludes>
|
||
<exclude>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</exclude>
|
||
</excludes>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|