| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-parent</artifactId> |
| <version>3.4.4</version> |
| <relativePath/> |
| </parent> |
| |
| <groupId>com.example</groupId> |
| <artifactId>demo</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <name>demo</name> |
| <description>Demo project for Spring Boot</description> |
| |
| <properties> |
| <java.version>17</java.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| </dependency> |
| |
| |
| <!-- 数据库驱动:MySQL、H2 --> |
| <dependency> |
| <groupId>com.mysql</groupId> |
| <artifactId>mysql-connector-j</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| |
| |
| <!-- MyBatis-Plus --> |
| <dependency> |
| <groupId>com.baomidou</groupId> |
| <artifactId>mybatis-plus-spring-boot3-starter</artifactId> |
| <version>3.5.5</version> |
| </dependency> |
| <!-- <dependency> |
| DO NOT DO THIS |
| <groupId>com.baomidou</groupId> |
| <artifactId>mybatis-plus-boot-starter</artifactId> |
| <version>3.5.5</version> |
| </dependency> |
| --> |
| <!-- Spring Boot 配置处理器(可选) --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-configuration-processor</artifactId> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- Docker Compose 支持 --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-docker-compose</artifactId> |
| <scope>runtime</scope> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- 单元测试 --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-validation</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-security</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.jsonwebtoken</groupId> |
| <artifactId>jjwt-api</artifactId> |
| <version>0.11.5</version> |
| </dependency> |
| <dependency> |
| <groupId>io.jsonwebtoken</groupId> |
| <artifactId>jjwt-impl</artifactId> |
| <version>0.11.5</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.jsonwebtoken</groupId> |
| <artifactId>jjwt-jackson</artifactId> |
| <version>0.11.5</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.turn</groupId> |
| <artifactId>ttorrent-bencoding</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| </dependency> |
| |
| <!-- 通用工具模块(info_hash、文件结构等) --> |
| <dependency> |
| <groupId>com.turn</groupId> |
| <artifactId>ttorrent-common</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| </dependency> |
| |
| <!-- 网络通信支持(用于 Scrape/Tracker 通信) --> |
| <dependency> |
| <groupId>com.turn</groupId> |
| <artifactId>ttorrent-network</artifactId> |
| <version>1.0</version> |
| </dependency> |
| |
| <!-- Tracker 服务(你自己部署的 announce 接口服务) --> |
| <dependency> |
| <groupId>com.turn</groupId> |
| <artifactId>ttorrent-tracker</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| </dependency> |
| |
| <!-- 客户端支持(如果你需要服务器自动发种、做种) --> |
| <dependency> |
| <groupId>com.turn</groupId> |
| <artifactId>ttorrent-client</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |