Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | 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"> |
| 5 | <parent> |
| 6 | <artifactId>ThunderHubServer</artifactId> |
| 7 | <groupId>com.ruoyi</groupId> |
| 8 | <version>3.8.8</version> |
| 9 | </parent> |
| 10 | <modelVersion>4.0.0</modelVersion> |
| 11 | <packaging>jar</packaging> |
| 12 | <artifactId>ruoyi-admin</artifactId> |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 13 | <description> |
| 14 | web服务入口 |
| 15 | </description> |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 16 | <dependencies> |
| 17 | |
| 18 | <!-- spring-boot-devtools --> |
| 19 | <dependency> |
| 20 | <groupId>org.springframework.boot</groupId> |
| 21 | <artifactId>spring-boot-devtools</artifactId> |
| 22 | <optional>true</optional> <!-- 表示依赖不会传递 --> |
| 23 | </dependency> |
Jiarenxiang | 0124a62 | 2025-06-08 19:01:05 +0800 | [diff] [blame] | 24 | <dependency> |
| 25 | <groupId>commons-codec</groupId> |
| 26 | <artifactId>commons-codec</artifactId> |
| 27 | <version>1.15</version> |
| 28 | </dependency> |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 29 | <!-- spring-doc --> |
| 30 | <dependency> |
| 31 | <groupId>org.springdoc</groupId> |
| 32 | <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
| 33 | </dependency> |
| 34 | |
| 35 | <!-- Mysql驱动包 --> |
| 36 | <dependency> |
| 37 | <groupId>com.mysql</groupId> |
| 38 | <artifactId>mysql-connector-j</artifactId> |
| 39 | </dependency> |
Jiarenxiang | 5f4247d | 2025-06-06 18:10:35 +0800 | [diff] [blame] | 40 | <dependency> |
| 41 | <groupId>com.frostwire</groupId> |
| 42 | <artifactId>jlibtorrent</artifactId> |
| 43 | <version>1.2.0.9-RC5</version> |
| 44 | </dependency> |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 45 | |
Jiarenxiang | 5f4247d | 2025-06-06 18:10:35 +0800 | [diff] [blame] | 46 | <dependency> |
| 47 | <groupId>com.turn</groupId> |
| 48 | <artifactId>ttorrent-core</artifactId> |
| 49 | <version>1.5</version> |
| 50 | </dependency> |
| 51 | |
| 52 | <!-- WebFlux 用于处理 tracker 接口 --> |
| 53 | <dependency> |
| 54 | <groupId>org.springframework.boot</groupId> |
| 55 | <artifactId>spring-boot-starter-webflux</artifactId> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>com.dampcake</groupId> |
| 59 | <artifactId>bencode</artifactId> |
| 60 | <version>1.4.1</version> |
| 61 | </dependency> |
| 62 | <!-- Apache Commons Codec --> |
| 63 | <dependency> |
| 64 | <groupId>commons-codec</groupId> |
| 65 | <artifactId>commons-codec</artifactId> |
| 66 | <version>1.15</version> |
| 67 | </dependency> |
| 68 | <!-- Jackson for JSON handling --> |
| 69 | <dependency> |
| 70 | <groupId>com.fasterxml.jackson.core</groupId> |
| 71 | <artifactId>jackson-databind</artifactId> |
| 72 | <version>2.13.3</version> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 76 | <artifactId>jackson-datatype-jsr310</artifactId> |
| 77 | <version>2.13.3</version> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.springframework.boot</groupId> |
| 81 | <artifactId>spring-boot-starter-test</artifactId> |
| 82 | <scope>test</scope> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>org.apache.httpcomponents</groupId> |
| 86 | <artifactId>httpcore</artifactId> |
| 87 | <version>4.4.9</version> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.projectlombok</groupId> |
| 91 | <artifactId>lombok</artifactId> |
| 92 | <optional>true</optional> |
| 93 | </dependency> |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 94 | |
| 95 | <dependency> |
| 96 | <groupId>com.turn.ttorrent</groupId> |
| 97 | <artifactId>ttorrent-cli-shaded</artifactId> |
| 98 | <version>1.3</version> |
| 99 | <scope>system</scope> |
| 100 | <systemPath>${project.basedir}/torrent/ttorrent-tracker.jar</systemPath> |
| 101 | </dependency> |
| 102 | <dependency> |
| 103 | <groupId>com.turn.ttorrent</groupId> |
| 104 | <artifactId>ttorrent-client</artifactId> |
| 105 | <version>1.3</version> |
| 106 | <scope>system</scope> |
| 107 | <systemPath>${project.basedir}/torrent/ttorrent-client.jar</systemPath> |
| 108 | </dependency> |
| 109 | |
meisiyu | c98fc52 | 2025-06-02 20:33:40 +0800 | [diff] [blame] | 110 | <!-- 通用工具--> |
| 111 | <dependency> |
| 112 | <groupId>com.ruoyi</groupId> |
| 113 | <artifactId>ruoyi-common</artifactId> |
| 114 | </dependency> |
| 115 | |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 116 | <!-- 核心模块--> |
| 117 | <dependency> |
| 118 | <groupId>com.ruoyi</groupId> |
| 119 | <artifactId>ruoyi-framework</artifactId> |
| 120 | </dependency> |
| 121 | |
| 122 | <!-- 定时任务--> |
| 123 | <dependency> |
| 124 | <groupId>com.ruoyi</groupId> |
| 125 | <artifactId>ruoyi-quartz</artifactId> |
| 126 | </dependency> |
| 127 | |
| 128 | <!-- 代码生成--> |
| 129 | <dependency> |
| 130 | <groupId>com.ruoyi</groupId> |
| 131 | <artifactId>ruoyi-generator</artifactId> |
| 132 | </dependency> |
Jiarenxiang | 5f4247d | 2025-06-06 18:10:35 +0800 | [diff] [blame] | 133 | <dependency> |
| 134 | <groupId>com.fasterxml.jackson.core</groupId> |
| 135 | <artifactId>jackson-databind</artifactId> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>com.github.ben-manes.caffeine</groupId> |
| 139 | <artifactId>caffeine</artifactId> |
| 140 | </dependency> |
| 141 | <dependency> |
| 142 | <groupId>org.springframework.boot</groupId> |
| 143 | <artifactId>spring-boot-starter-web</artifactId> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>org.springframework.boot</groupId> |
| 147 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>commons-fileupload</groupId> |
| 151 | <artifactId>commons-fileupload</artifactId> |
| 152 | <version>1.4</version> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>commons-io</groupId> |
| 156 | <artifactId>commons-io</artifactId> |
| 157 | <version>2.11.0</version> |
| 158 | </dependency> |
| 159 | |
| 160 | <dependency> |
| 161 | <groupId>com.github.xiaoymin</groupId> |
| 162 | <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId> |
| 163 | <version>4.5.0</version> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>org.flywaydb</groupId> |
| 167 | <artifactId>flyway-core</artifactId> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.flywaydb</groupId> |
| 171 | <artifactId>flyway-mysql</artifactId> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>com.mysql</groupId> |
| 175 | <artifactId>mysql-connector-j</artifactId> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>com.baomidou</groupId> |
| 179 | <artifactId>mybatis-plus-spring-boot3-starter</artifactId> |
| 180 | <version>3.5.5</version> |
| 181 | </dependency> |
| 182 | <dependency> |
| 183 | <groupId>jakarta.servlet</groupId> |
| 184 | <artifactId>jakarta.servlet-api</artifactId> |
| 185 | <version>${jakarta.version}</version> |
| 186 | </dependency> |
| 187 | <dependency> |
| 188 | <groupId>com.github.pagehelper</groupId> |
| 189 | <artifactId>pagehelper-spring-boot-starter</artifactId> |
| 190 | <version>1.4.7</version> |
| 191 | </dependency> |
| 192 | |
| 193 | <dependency> |
| 194 | <groupId>org.apache.commons</groupId> |
| 195 | <artifactId>commons-lang3</artifactId> |
| 196 | </dependency> |
| 197 | <dependency> |
| 198 | <groupId>com.alibaba</groupId> |
| 199 | <artifactId>fastjson</artifactId> |
| 200 | <version>${fastjson.version}</version> |
| 201 | </dependency> |
| 202 | <dependency> |
| 203 | <groupId>cn.hutool</groupId> |
| 204 | <artifactId>hutool-all</artifactId> |
| 205 | <version>5.8.6</version> |
| 206 | </dependency> |
| 207 | |
| 208 | <dependency> |
| 209 | <groupId>com.dampcake</groupId> |
| 210 | <artifactId>bencode</artifactId> |
| 211 | <version>1.4.1</version> |
| 212 | </dependency> |
| 213 | |
| 214 | <!-- https://mvnrepository.com/artifact/com.github.axet/kaptcha --> |
| 215 | <dependency> |
| 216 | <groupId>com.github.axet</groupId> |
| 217 | <artifactId>kaptcha</artifactId> |
| 218 | <version>0.0.9</version> |
| 219 | </dependency> |
| 220 | |
| 221 | <dependency> |
| 222 | <groupId>com.github.houbb</groupId> |
| 223 | <artifactId>sensitive-word</artifactId> |
| 224 | <version>0.2.1</version> |
| 225 | </dependency> |
| 226 | <dependency> |
| 227 | <groupId>org.springframework.data</groupId> |
| 228 | <artifactId>spring-data-redis</artifactId> |
| 229 | </dependency> |
| 230 | |
| 231 | <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc --> |
| 232 | <dependency> |
| 233 | <groupId>cn.dev33</groupId> |
| 234 | <artifactId>sa-token-spring-boot3-starter</artifactId> |
| 235 | <version>1.38.0</version> |
| 236 | </dependency> |
| 237 | <!-- Sa-Token 整合 SpringAOP 实现注解鉴权 --> |
| 238 | <dependency> |
| 239 | <groupId>cn.dev33</groupId> |
| 240 | <artifactId>sa-token-spring-aop</artifactId> |
| 241 | <version>1.38.0</version> |
| 242 | </dependency> |
| 243 | |
| 244 | <!-- Sa-Token 整合 jwt --> |
| 245 | <dependency> |
| 246 | <groupId>cn.dev33</groupId> |
| 247 | <artifactId>sa-token-jwt</artifactId> |
| 248 | <version>1.38.0</version> |
| 249 | </dependency> |
| 250 | <!-- Sa-Token 整合 Redis (使用 jackson 序列化方式) --> |
| 251 | <dependency> |
| 252 | <groupId>cn.dev33</groupId> |
| 253 | <artifactId>sa-token-redis-jackson</artifactId> |
| 254 | <version>1.38.0</version> |
| 255 | </dependency> |
| 256 | <!-- 提供Redis连接池 --> |
| 257 | <dependency> |
| 258 | <groupId>org.apache.commons</groupId> |
| 259 | <artifactId>commons-pool2</artifactId> |
| 260 | </dependency> |
| 261 | <dependency> |
| 262 | <groupId>com.warrenstrange</groupId> |
| 263 | <artifactId>googleauth</artifactId> |
| 264 | <version>1.5.0</version> |
| 265 | </dependency> |
| 266 | <dependency> |
| 267 | <groupId>com.github.seancfoley</groupId> |
| 268 | <artifactId>ipaddress</artifactId> |
| 269 | <version>5.5.0</version> |
| 270 | </dependency> |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 271 | |
meisiyu | c98fc52 | 2025-06-02 20:33:40 +0800 | [diff] [blame] | 272 | <!-- 测试依赖 --> |
| 273 | <dependency> |
| 274 | <groupId>org.springframework.boot</groupId> |
| 275 | <artifactId>spring-boot-starter-test</artifactId> |
| 276 | <scope>test</scope> |
| 277 | </dependency> |
meisiyu | c98fc52 | 2025-06-02 20:33:40 +0800 | [diff] [blame] | 278 | <dependency> |
| 279 | <groupId>org.mockito</groupId> |
| 280 | <artifactId>mockito-core</artifactId> |
Jiarenxiang | 5f4247d | 2025-06-06 18:10:35 +0800 | [diff] [blame] | 281 | <version>5.5.0</version> <!-- 改为父项目的版本 --> |
meisiyu | c98fc52 | 2025-06-02 20:33:40 +0800 | [diff] [blame] | 282 | <scope>test</scope> |
| 283 | </dependency> |
meisiyu | c98fc52 | 2025-06-02 20:33:40 +0800 | [diff] [blame] | 284 | <dependency> |
| 285 | <groupId>org.mockito</groupId> |
| 286 | <artifactId>mockito-junit-jupiter</artifactId> |
Jiarenxiang | 5f4247d | 2025-06-06 18:10:35 +0800 | [diff] [blame] | 287 | <version>5.5.0</version> <!-- 改为父项目的版本 --> |
meisiyu | c98fc52 | 2025-06-02 20:33:40 +0800 | [diff] [blame] | 288 | <scope>test</scope> |
| 289 | </dependency> |
| 290 | |
| 291 | <!-- Spring Security Test Support --> |
| 292 | <dependency> |
| 293 | <groupId>org.springframework.security</groupId> |
| 294 | <artifactId>spring-security-test</artifactId> |
| 295 | <scope>test</scope> |
| 296 | </dependency> |
| 297 | |
崔向南 | 03d21b9 | 2025-06-05 17:42:23 +0800 | [diff] [blame] | 298 | <dependency> |
| 299 | <groupId>com.ruoyi</groupId> |
| 300 | <artifactId>ruoyi-system</artifactId> |
| 301 | <version>3.8.8</version> |
| 302 | </dependency> |
| 303 | |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 304 | </dependencies> |
| 305 | |
| 306 | <build> |
| 307 | <plugins> |
| 308 | <plugin> |
| 309 | <groupId>org.springframework.boot</groupId> |
| 310 | <artifactId>spring-boot-maven-plugin</artifactId> |
Jiarenxiang | 5f4247d | 2025-06-06 18:10:35 +0800 | [diff] [blame] | 311 | <version>3.3.0</version> <!-- 改为父项目的版本 --> |
| 312 | <!-- <configuration>--> |
| 313 | <!-- <fork>true</fork>--> |
| 314 | <!-- </configuration>--> |
Jiarenxiang | 25a45b7 | 2025-03-13 16:09:13 +0800 | [diff] [blame] | 315 | <executions> |
| 316 | <execution> |
| 317 | <goals> |
| 318 | <goal>repackage</goal> |
| 319 | </goals> |
| 320 | </execution> |
| 321 | </executions> |
| 322 | </plugin> |
| 323 | <plugin> |
| 324 | <groupId>org.apache.maven.plugins</groupId> |
| 325 | <artifactId>maven-war-plugin</artifactId> |
| 326 | <version>3.1.0</version> |
| 327 | <configuration> |
| 328 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 329 | <warName>${project.artifactId}</warName> |
| 330 | </configuration> |
| 331 | </plugin> |
| 332 | </plugins> |
| 333 | <finalName>${project.artifactId}</finalName> |
| 334 | </build> |
| 335 | |
| 336 | </project> |