blob: 6eccaf50c4679ae988226db2f4e7b7db8c928ed4 [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>
ZBDb704c9f2025-05-23 21:51:39 +0800100 <dependency>
101 <groupId>com.turn</groupId>
102 <artifactId>ttorrent-bencoding</artifactId>
103 <version>1.3.0-SNAPSHOT</version>
104 </dependency>
ZBDc7746b42025-05-10 01:42:30 +0800105
ZBDb704c9f2025-05-23 21:51:39 +0800106 <!-- 通用工具模块(info_hash、文件结构等) -->
107 <dependency>
108 <groupId>com.turn</groupId>
109 <artifactId>ttorrent-common</artifactId>
110 <version>1.3.0-SNAPSHOT</version>
111 </dependency>
112
113 <!-- 网络通信支持(用于 Scrape/Tracker 通信) -->
114 <dependency>
115 <groupId>com.turn</groupId>
116 <artifactId>ttorrent-network</artifactId>
117 <version>1.0</version>
118 </dependency>
119
120 <!-- Tracker 服务(你自己部署的 announce 接口服务) -->
121 <dependency>
122 <groupId>com.turn</groupId>
123 <artifactId>ttorrent-tracker</artifactId>
124 <version>1.3.0-SNAPSHOT</version>
125 </dependency>
126
127 <!-- 客户端支持(如果你需要服务器自动发种、做种) -->
128 <dependency>
129 <groupId>com.turn</groupId>
130 <artifactId>ttorrent-client</artifactId>
131 <version>1.3.0-SNAPSHOT</version>
132 </dependency>
ZBDc7746b42025-05-10 01:42:30 +0800133</dependencies>
134
135<build>
136 <plugins>
137 <plugin>
138 <groupId>org.springframework.boot</groupId>
139 <artifactId>spring-boot-maven-plugin</artifactId>
140 </plugin>
141 </plugins>
142</build>
ZBDf60356c2025-04-03 20:09:51 +0800143
144</project>