93 lines
3.1 KiB
XML
93 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 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>3.5.0</version>
|
||
|
<relativePath/> <!-- lookup parent from repository -->
|
||
|
</parent>
|
||
|
<groupId>org.example</groupId>
|
||
|
<artifactId>keshe</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<name>keshe</name>
|
||
|
<description>keshe</description>
|
||
|
<url/>
|
||
|
<licenses>
|
||
|
<license/>
|
||
|
</licenses>
|
||
|
<developers>
|
||
|
<developer/>
|
||
|
</developers>
|
||
|
<scm>
|
||
|
<connection/>
|
||
|
<developerConnection/>
|
||
|
<tag/>
|
||
|
<url/>
|
||
|
</scm>
|
||
|
<properties>
|
||
|
<java.version>17</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-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 简化实体类开发 -->
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<version>1.18.36</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<!--MySQL JDBC驱动-->
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
<version>8.0.26</version><!-- 请确保该版本与本机MySQL数据库版本一致 -->
|
||
|
</dependency>
|
||
|
<!-- Spring Boot3项目对应的MybatisPlus的依赖 -->
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
||
|
<version>3.5.12</version>
|
||
|
</dependency>
|
||
|
<!-- MybatisPlus使用分页插件、逻辑删除、多租户、数据权限控制等高级特性时必需-->
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus-jsqlparser</artifactId>
|
||
|
<version>3.5.12</version> <!-- 确保版本与 MyBatis-Plus 主版本一致 -->
|
||
|
</dependency>
|
||
|
<!-- 数据库连接池依赖,可选 -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||
|
<version>1.2.18</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
</project>
|