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