2023-01-13 20:05:36 +08:00
|
|
|
<?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.7.7</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>com.kob</groupId>
|
|
|
|
<artifactId>backend</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>backend</name>
|
|
|
|
<description>backend</description>
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
</properties>
|
2023-02-19 15:00:08 +08:00
|
|
|
|
|
|
|
<!-- dependencies 里面存放依赖-->
|
2023-01-13 20:05:36 +08:00
|
|
|
<dependencies>
|
2023-02-19 15:00:08 +08:00
|
|
|
<!-- JDBC 依赖,用于操作连接数据库-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-jdbc -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- 简化代码,可以帮助写一些构造函数, set() , get() 函数等-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.18.26</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- mysql 连接驱动-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.mysql/mysql-connector-j -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
<version>8.0.32</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- mybatis-plus 用于低代码开发-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
<version>3.5.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- mybatis-plus-generator 用于自动生成一些函数-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-generator -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
|
|
<version>3.5.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-02-27 16:04:58 +08:00
|
|
|
<!-- 用于安全验证-->
|
2023-02-19 15:00:08 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-02-27 16:04:58 +08:00
|
|
|
<!-- 用于使用 JWT 验证-->
|
2023-02-20 22:15:52 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-api -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
|
|
|
<version>0.11.5</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-impl -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
|
|
|
<version>0.11.5</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-jackson -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
<version>0.11.5</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2023-02-27 16:04:58 +08:00
|
|
|
<!-- 用于配置使用 websocket-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-websocket -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- json 用于前后端通信-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
<version>2.0.24</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-02-19 15:00:08 +08:00
|
|
|
|
2023-01-13 20:05:36 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
2023-02-20 22:15:52 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>13.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2023-01-13 20:05:36 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|