blob: 2e50a85f214b63a28e6902504de281b47e82aeed [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>
ZBD4b0e05a2025-06-08 18:11:26 +080015<repositories>
16 <repository>
17 <id>local-ttorrent</id>
18 <name>Local TTorrent Bundle</name>
19 <url>file://${project.basedir}/src/main/resources/lib</url>
20 <releases><enabled>true</enabled></releases>
21 <snapshots><enabled>false</enabled></snapshots>
22 </repository>
23 </repositories>
24
ZBDc7746b42025-05-10 01:42:30 +080025
26<groupId>com.example</groupId>
27<artifactId>demo</artifactId>
28<version>0.0.1-SNAPSHOT</version>
29<name>demo</name>
30<description>Demo project for Spring Boot</description>
31
32<properties>
33 <java.version>17</java.version>
34</properties>
35
36<dependencies>
37 <dependency>
38 <groupId>org.springframework.boot</groupId>
39 <artifactId>spring-boot-starter-web</artifactId>
40 </dependency>
ZBD4b0e05a2025-06-08 18:11:26 +080041
42
43
ZBDc7746b42025-05-10 01:42:30 +080044
45 <!-- 数据库驱动:MySQL、H2 -->
46 <dependency>
47 <groupId>com.mysql</groupId>
48 <artifactId>mysql-connector-j</artifactId>
49 <scope>runtime</scope>
50 </dependency>
51
52
53 <!-- MyBatis-Plus -->
54 <dependency>
55 <groupId>com.baomidou</groupId>
56 <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
57 <version>3.5.5</version>
58 </dependency>
59<!-- <dependency>
60 DO NOT DO THIS
61 <groupId>com.baomidou</groupId>
62 <artifactId>mybatis-plus-boot-starter</artifactId>
63 <version>3.5.5</version>
64 </dependency>
65-->
66 <!-- Spring Boot 配置处理器(可选) -->
67 <dependency>
68 <groupId>org.springframework.boot</groupId>
69 <artifactId>spring-boot-configuration-processor</artifactId>
70 <optional>true</optional>
71 </dependency>
72
73 <!-- Docker Compose 支持 -->
74 <dependency>
75 <groupId>org.springframework.boot</groupId>
76 <artifactId>spring-boot-docker-compose</artifactId>
77 <scope>runtime</scope>
78 <optional>true</optional>
79 </dependency>
80
81 <!-- 单元测试 -->
82 <dependency>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-starter-test</artifactId>
85 <scope>test</scope>
86 </dependency>
87 <dependency>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-validation</artifactId>
90</dependency>
91 <dependency>
92 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-starter-security</artifactId>
94</dependency>
95 <dependency>
96 <groupId>io.jsonwebtoken</groupId>
97 <artifactId>jjwt-api</artifactId>
98 <version>0.11.5</version>
99</dependency>
100<dependency>
101 <groupId>io.jsonwebtoken</groupId>
102 <artifactId>jjwt-impl</artifactId>
103 <version>0.11.5</version>
104 <scope>runtime</scope>
105</dependency>
106<dependency>
107 <groupId>io.jsonwebtoken</groupId>
108 <artifactId>jjwt-jackson</artifactId>
109 <version>0.11.5</version>
110 <scope>runtime</scope>
111</dependency>
ZBD4b0e05a2025-06-08 18:11:26 +0800112<dependency>
113 <groupId>commons-codec</groupId>
114 <artifactId>commons-codec</artifactId>
115 </dependency>
116 <dependency>
117 <groupId>javax.annotation</groupId>
118 <artifactId>javax.annotation-api</artifactId>
119 <version>1.3.2</version>
120</dependency>
121
ZBDb704c9f2025-05-23 21:51:39 +0800122 <dependency>
123 <groupId>com.turn</groupId>
124 <artifactId>ttorrent-bencoding</artifactId>
ZBD4b0e05a2025-06-08 18:11:26 +0800125 <version>1.3.0-SNAPSHOT</version> <!-- Changed to match your file -->
126</dependency>
127<dependency>
ZBDb704c9f2025-05-23 21:51:39 +0800128 <groupId>com.turn</groupId>
129 <artifactId>ttorrent-client</artifactId>
ZBD4b0e05a2025-06-08 18:11:26 +0800130 <version>1.3.0-SNAPSHOT</version> <!-- Changed to match your file -->
131</dependency>
132<dependency>
133 <groupId>com.turn</groupId>
134 <artifactId>ttorrent-common</artifactId>
135 <version>1.3.0-SNAPSHOT</version> <!-- Changed to match your file -->
136</dependency>
137<dependency>
138 <groupId>com.turn</groupId>
139 <artifactId>ttorrent-network</artifactId>
140 <version>1.0</version> <!-- Changed to match your file (1.0) -->
141</dependency>
142<dependency>
143 <groupId>com.turn</groupId>
144 <artifactId>ttorrent-tracker</artifactId>
145 <version>1.3.0-SNAPSHOT</version> <!-- Changed to match your file -->
146</dependency>
147
ZBDc7746b42025-05-10 01:42:30 +0800148</dependencies>
149
150<build>
151 <plugins>
152 <plugin>
153 <groupId>org.springframework.boot</groupId>
154 <artifactId>spring-boot-maven-plugin</artifactId>
155 </plugin>
156 </plugins>
157</build>
ZBDf60356c2025-04-03 20:09:51 +0800158
159</project>