blob: bac660b41c811ef9dc30866bff3dff92e5a771a2 [file] [log] [blame]
ZBDf60356c2025-04-03 20:09:51 +08001<?xml version="1.0" encoding="UTF-8"?>
ZBDf60356c2025-04-03 20:09:51 +08002
ZBDc7746b42025-05-10 01:42:30 +08003<project xmlns="http://maven.apache.org/POM/4.0.0"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
ZBDf60356c2025-04-03 20:09:51 +08006
ZBDc7746b42025-05-10 01:42:30 +08007<modelVersion>4.0.0</modelVersion>
8
9<parent>
10 <groupId>org.springframework.boot</groupId>
11 <artifactId>spring-boot-starter-parent</artifactId>
12 <version>3.4.4</version>
13 <relativePath/>
14</parent>
15
16<groupId>com.example</groupId>
17<artifactId>demo</artifactId>
18<version>0.0.1-SNAPSHOT</version>
19<name>demo</name>
20<description>Demo project for Spring Boot</description>
21
22<properties>
23 <java.version>17</java.version>
24</properties>
25
26<dependencies>
27 <dependency>
28 <groupId>org.springframework.boot</groupId>
29 <artifactId>spring-boot-starter-web</artifactId>
30 </dependency>
31
32
33 <!-- 数据库驱动:MySQL、H2 -->
34 <dependency>
35 <groupId>com.mysql</groupId>
36 <artifactId>mysql-connector-j</artifactId>
37 <scope>runtime</scope>
38 </dependency>
39
40
41 <!-- MyBatis-Plus -->
42 <dependency>
43 <groupId>com.baomidou</groupId>
44 <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
45 <version>3.5.5</version>
46 </dependency>
47<!-- <dependency>
48 DO NOT DO THIS
49 <groupId>com.baomidou</groupId>
50 <artifactId>mybatis-plus-boot-starter</artifactId>
51 <version>3.5.5</version>
52 </dependency>
53-->
54 <!-- Spring Boot 配置处理器(可选) -->
55 <dependency>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-configuration-processor</artifactId>
58 <optional>true</optional>
59 </dependency>
60
61 <!-- Docker Compose 支持 -->
62 <dependency>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-docker-compose</artifactId>
65 <scope>runtime</scope>
66 <optional>true</optional>
67 </dependency>
68
69 <!-- 单元测试 -->
70 <dependency>
71 <groupId>org.springframework.boot</groupId>
72 <artifactId>spring-boot-starter-test</artifactId>
73 <scope>test</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-validation</artifactId>
78</dependency>
79 <dependency>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-security</artifactId>
82</dependency>
83 <dependency>
84 <groupId>io.jsonwebtoken</groupId>
85 <artifactId>jjwt-api</artifactId>
86 <version>0.11.5</version>
87</dependency>
88<dependency>
89 <groupId>io.jsonwebtoken</groupId>
90 <artifactId>jjwt-impl</artifactId>
91 <version>0.11.5</version>
92 <scope>runtime</scope>
93</dependency>
94<dependency>
95 <groupId>io.jsonwebtoken</groupId>
96 <artifactId>jjwt-jackson</artifactId>
97 <version>0.11.5</version>
98 <scope>runtime</scope>
99</dependency>
100
101</dependencies>
102
103<build>
104 <plugins>
105 <plugin>
106 <groupId>org.springframework.boot</groupId>
107 <artifactId>spring-boot-maven-plugin</artifactId>
108 </plugin>
109 </plugins>
110</build>
ZBDf60356c2025-04-03 20:09:51 +0800111
112</project>