blob: 55cb6984c113563b015e1fee5611b350bdfd294f [file] [log] [blame]
22301115cf6dba22025-03-25 19:06:21 +08001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
YelinCuifdf4ed72025-05-26 11:49:36 +08003 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22301115cf6dba22025-03-25 19:06:21 +08005 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>groupId</groupId>
8 <artifactId>echo-backend</artifactId>
9 <version>1.0-SNAPSHOT</version>
10 <parent>
11 <groupId>org.springframework.boot</groupId>
12 <artifactId>spring-boot-starter-parent</artifactId>
13 <version>2.6.0</version> <!-- 使用你希望的Spring Boot版本 -->
YelinCuifdf4ed72025-05-26 11:49:36 +080014 <relativePath /> <!-- lookup parent from repository -->
22301115cf6dba22025-03-25 19:06:21 +080015 </parent>
22301115cf6dba22025-03-25 19:06:21 +080016 <properties>
17 <maven.compiler.source>17</maven.compiler.source>
18 <maven.compiler.target>17</maven.compiler.target>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
YelinCuifdf4ed72025-05-26 11:49:36 +080020 <sa-token.version>1.37.0</sa-token.version>
22301115cf6dba22025-03-25 19:06:21 +080021 </properties>
22
23 <dependencies>
24 <!--引入hutool-->
25 <!-- Add Apache Commons IO -->
26 <dependency>
27 <groupId>com.baomidou</groupId>
28 <artifactId>mybatis-plus-boot-starter</artifactId>
29 <version>3.5.3.1</version>
30 </dependency>
31
32
33 <!-- Add Guava -->
34 <dependency>
35 <groupId>com.google.guava</groupId>
36 <artifactId>guava</artifactId>
37 <version>31.0.1-jre</version> <!-- Replace with the latest version -->
38 </dependency>
39 <dependency>
40 <groupId>io.springfox</groupId>
41 <artifactId>springfox-swagger2</artifactId>
42 <version>3.0.0</version> <!-- Replace with the latest version -->
43 </dependency>
44 <dependency>
45 <groupId>org.springframework.boot</groupId>
46 <artifactId>spring-boot-starter-data-redis</artifactId>
47 </dependency>
48
49 <dependency>
50 <groupId>io.springfox</groupId>
51 <artifactId>springfox-swagger-ui</artifactId>
52 <version>3.0.0</version> <!-- Replace with the latest version -->
53 </dependency>
54
55 <dependency>
56 <groupId>cn.hutool</groupId>
57 <artifactId>hutool-all</artifactId>
58 <version>5.3.9</version>
59 </dependency>
60 <!-- Spring Boot Starter Web -->
61 <dependency>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-web</artifactId>
64 </dependency>
65 <!-- Spring Boot Starter Data JPA -->
66 <!-- MySQL Connector -->
67 <dependency>
68 <groupId>mysql</groupId>
69 <artifactId>mysql-connector-java</artifactId>
70 </dependency>
71 <!-- Spring Boot Starter Security -->
72 <dependency>
73 <groupId>org.springframework.boot</groupId>
74 <artifactId>spring-boot-starter-security</artifactId>
75 </dependency>
76 <!-- JAXB API -->
77 <dependency>
78 <groupId>javax.xml.bind</groupId>
79 <artifactId>jaxb-api</artifactId>
80 </dependency>
YelinCuifdf4ed72025-05-26 11:49:36 +080081 <dependency>
82 <groupId>com.github.xiaoymin</groupId>
83 <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
84 <version>4.5.0</version>
85 </dependency>
86 <dependency>
87 <groupId>javax.validation</groupId>
88 <artifactId>validation-api</artifactId>
89 <version>2.0.1.Final</version>
90 </dependency>
22301115cf6dba22025-03-25 19:06:21 +080091 <!-- Spring Web MVC -->
92 <dependency>
93 <groupId>org.springframework</groupId>
94 <artifactId>spring-webmvc</artifactId>
95 </dependency>
96 <!-- Spring AOP -->
97 <dependency>
98 <groupId>org.springframework</groupId>
99 <artifactId>spring-aop</artifactId>
100 </dependency>
101 <dependency>
102 <groupId>org.springframework.boot</groupId>
103 <artifactId>spring-boot-starter-mail</artifactId>
104 </dependency>
105 <dependency>
106 <groupId>org.apache.commons</groupId>
107 <artifactId>commons-lang3</artifactId>
108 <version>3.12.0</version>
109 </dependency>
110 <dependency>
111 <groupId>com.alibaba</groupId>
112 <artifactId>fastjson</artifactId>
113 <version>1.2.39</version>
114 </dependency>
115 <dependency>
116 <groupId>org.projectlombok</groupId>
117 <artifactId>lombok</artifactId>
118 <version>1.18.30</version> <!-- 确保使用的是最新版本 -->
119 <scope>provided</scope>
120 </dependency>
YelinCuifdf4ed72025-05-26 11:49:36 +0800121 <dependency>
122 <groupId>com.github.pagehelper</groupId>
123 <artifactId>pagehelper-spring-boot-starter</artifactId>
124 <version>1.4.7</version>
125 </dependency>
126
22301115cf6dba22025-03-25 19:06:21 +0800127
128 <dependency>
129 <groupId>org.slf4j</groupId>
130 <artifactId>slf4j-api</artifactId>
YelinCuifdf4ed72025-05-26 11:49:36 +0800131 <version>1.7.32</version> <!-- 版本可以根据需要调整 -->
22301115cf6dba22025-03-25 19:06:21 +0800132 </dependency>
133 <dependency>
134 <groupId>ch.qos.logback</groupId>
135 <artifactId>logback-classic</artifactId>
136 <version>1.2.3</version> <!-- 版本可以根据需要调整 -->
137 </dependency>
138 <dependency>
139 <groupId>commons-fileupload</groupId>
140 <artifactId>commons-fileupload</artifactId>
141 <version>1.4</version>
142 </dependency>
143
144 <dependency>
145 <groupId>org.springframework.boot</groupId>
146 <artifactId>spring-boot-starter-validation</artifactId>
147 </dependency>
YelinCuifdf4ed72025-05-26 11:49:36 +0800148
22301115cf6dba22025-03-25 19:06:21 +0800149 <dependency>
150 <groupId>org.springframework.boot</groupId>
151 <artifactId>spring-boot-starter-webflux</artifactId>
152 </dependency>
153 <dependency>
154 <groupId>junit</groupId>
155 <artifactId>junit</artifactId>
156 <version>4.12</version>
157 <scope>test</scope>
158 </dependency>
YelinCuifdf4ed72025-05-26 11:49:36 +0800159
22301115cf6dba22025-03-25 19:06:21 +0800160 <dependency>
161 <groupId>org.springframework.boot</groupId>
162 <artifactId>spring-boot-starter-test</artifactId>
163 <scope>test</scope>
164 </dependency>
YelinCuifdf4ed72025-05-26 11:49:36 +0800165 <dependency>
166 <groupId>com.turn</groupId>
167 <artifactId>ttorrent-common</artifactId>
168 <version>1.3.0-SNAPSHOT</version>
169 </dependency>
170
171 <!-- ttorrent -->
172 <dependency>
173 <groupId>com.turn</groupId>
174 <artifactId>ttorrent-client</artifactId>
175 <version>1.3.0-SNAPSHOT</version>
176 </dependency>
177 <dependency>
178 <groupId>com.turn</groupId>
179 <artifactId>ttorrent-cli</artifactId>
180 <version>1.3.0-SNAPSHOT</version>
181 </dependency>
182 <dependency>
183 <groupId>com.turn</groupId>
184 <artifactId>ttorrent-network</artifactId>
185 <version>1.0</version>
186 </dependency>
187 <dependency>
188 <groupId>com.turn</groupId>
189 <artifactId>ttorrent-test-api</artifactId>
190 <version>1.0</version>
191 </dependency>
192 <dependency>
193 <groupId>com.turn</groupId>
194 <artifactId>ttorrent-bencoding</artifactId>
195 <version>1.3.0-SNAPSHOT</version>
196 </dependency>
197 <dependency>
198 <groupId>com.turn</groupId>
199 <artifactId>ttorrent-tests</artifactId>
200 <version>1.3.0-SNAPSHOT</version>
201 </dependency>
202 <dependency>
203 <groupId>com.turn</groupId>
204 <artifactId>ttorrent-tracker</artifactId>
205 <version>1.3.0-SNAPSHOT</version>
206 </dependency>
207 <dependency>
208 <groupId>com.github.xiaoymin</groupId>
209 <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
210 <version>4.5.0</version>
211 </dependency>
212
213 <dependency>
214 <groupId>cn.dev33</groupId>
215 <artifactId>sa-token-spring-boot-starter</artifactId>
216 <version>${sa-token.version}</version>
217 </dependency>
218
219
220
22301115cf6dba22025-03-25 19:06:21 +0800221
222 </dependencies>
223
224
225 <build>
226 <plugins>
227 <plugin>
228 <groupId>org.springframework.boot</groupId>
229 <artifactId>spring-boot-maven-plugin</artifactId>
230 </plugin>
231 <plugin>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-compiler-plugin</artifactId>
234 <version>3.8.1</version>
235 <configuration>
236 <source>17</source>
237 <target>17</target>
238 <compilerArgs>
239 <arg>--add-opens</arg>
240 <arg>jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
241 </compilerArgs>
242 </configuration>
243
244 </plugin>
245 <plugin>
246 <groupId>org.jacoco</groupId>
247 <artifactId>jacoco-maven-plugin</artifactId>
248 <version>0.8.8</version>
249 <executions>
250 <execution>
251 <goals>
252 <goal>prepare-agent</goal>
253 </goals>
254 </execution>
255 <execution>
256 <id>report</id>
257 <phase>test</phase>
258 <goals>
259 <goal>report</goal>
260 </goals>
261 </execution>
262 </executions>
263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-surefire-plugin</artifactId>
267 <version>2.9</version>
268 <configuration>
YelinCuifdf4ed72025-05-26 11:49:36 +0800269 <!--suppress
270 UnresolvedMavenProperty -->
22301115cf6dba22025-03-25 19:06:21 +0800271 <argLine>${surefireArgLine}</argLine>
272 <skipTests>false</skipTests>
273 <includes>
274 <include>**/*Test.java</include>
275 </includes>
276 </configuration>
277 </plugin>
278 <plugin>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-surefire-report-plugin</artifactId>
281 <version>2.12.2</version>
282 <configuration>
283 <showSuccess>false</showSuccess>
284 </configuration>
285
286 </plugin>
287
288 </plugins>
YelinCuifdf4ed72025-05-26 11:49:36 +0800289<!-- <resources>-->
290<!-- <resource>-->
291<!-- <directory>src/main/java</directory>-->
292<!-- <includes>-->
293<!-- <include>**/*.xml</include>-->
294<!-- </includes>-->
295<!-- </resource>-->
296<!-- <resource>-->
297<!-- <directory>libs</directory>-->
298<!-- <includes>-->
299<!-- <include>*.jar</include>-->
300<!-- </includes>-->
301<!-- </resource>-->
302<!-- </resources>-->
303
304
22301115cf6dba22025-03-25 19:06:21 +0800305 </build>
306
307</project>