22301080 | fd521b0 | 2025-04-24 23:22:49 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | <parent> |
| 6 | <groupId>org.springframework.boot</groupId> |
| 7 | <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | <version>3.4.3</version> |
| 9 | <relativePath/> <!-- lookup parent from repository --> |
| 10 | </parent> |
| 11 | <groupId>com.ptp</groupId> |
| 12 | <artifactId>PTPlatform</artifactId> |
| 13 | <version>0.0.1-SNAPSHOT</version> |
| 14 | <name>PTPlatform</name> |
| 15 | <description>PTPlatform</description> |
| 16 | <properties> |
| 17 | <java.version>17</java.version> |
| 18 | </properties> |
| 19 | <dependencies> |
| 20 | <dependency> |
| 21 | <groupId>org.springframework.boot</groupId> |
| 22 | <artifactId>spring-boot-starter-web</artifactId> |
| 23 | </dependency> |
| 24 | <dependency> |
| 25 | <groupId>org.springframework.boot</groupId> |
| 26 | <artifactId>spring-boot-starter-test</artifactId> |
| 27 | <scope>test</scope> |
| 28 | </dependency> |
| 29 | <dependency> |
| 30 | <groupId>org.springframework.boot</groupId> |
| 31 | <artifactId>spring-boot-devtools</artifactId> |
| 32 | <optional>true</optional> |
| 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>org.springframework.boot</groupId> |
| 36 | <artifactId>spring-boot-starter-jdbc</artifactId> |
| 37 | </dependency> |
| 38 | <!-- Spring boot 核心 --> |
| 39 | <dependency> |
| 40 | <groupId>org.springframework.boot</groupId> |
| 41 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.lionsoul</groupId> |
| 45 | <artifactId>ip2region</artifactId> |
| 46 | <version>1.7.2</version> |
| 47 | </dependency> |
| 48 | <!-- MyBatis Plus --> |
| 49 | <dependency> |
| 50 | <groupId>com.baomidou</groupId> |
| 51 | <artifactId>mybatis-plus-spring-boot3-starter</artifactId> |
| 52 | <version>3.5.10.1</version> |
| 53 | </dependency> |
22301080 | a033473 | 2025-05-17 21:38:32 +0800 | [diff] [blame] | 54 | |
Lambda | 6f532bd | 2025-05-14 15:22:57 +0800 | [diff] [blame] | 55 | <dependency> |
| 56 | <groupId>com.baomidou</groupId> |
| 57 | <artifactId>mybatis-plus-jsqlparser</artifactId> |
| 58 | <version>3.5.10.1</version> <!-- 确保版本和 MyBatis Plus 主包一致 --> |
| 59 | </dependency> |
22301080 | fd521b0 | 2025-04-24 23:22:49 +0800 | [diff] [blame] | 60 | <!-- 数据库--> |
| 61 | <!-- Mysql依赖包 --> |
| 62 | <dependency> |
| 63 | <groupId>mysql</groupId> |
| 64 | <artifactId>mysql-connector-java</artifactId> |
| 65 | <version>8.0.25</version> |
| 66 | <scope>runtime</scope> |
| 67 | </dependency> |
| 68 | <!-- H2 内存数据库 --> |
| 69 | <dependency> |
| 70 | <groupId>com.h2database</groupId> |
| 71 | <artifactId>h2</artifactId> |
| 72 | <scope>test</scope> |
| 73 | </dependency> |
| 74 | |
| 75 | <!-- druid 数据连接池 --> |
| 76 | <dependency> |
| 77 | <groupId>com.alibaba</groupId> |
| 78 | <artifactId>druid-spring-boot-starter</artifactId> |
| 79 | <version>1.1.20</version> |
| 80 | </dependency> |
| 81 | |
| 82 | <!-- jwt登录验证 --> |
| 83 | <dependency> |
| 84 | <groupId>io.jsonwebtoken</groupId> |
| 85 | <artifactId>jjwt</artifactId> |
| 86 | <version>0.9.1</version> |
| 87 | </dependency> |
| 88 | |
| 89 | <!-- 日期数据显示 --> |
| 90 | <dependency> |
| 91 | <groupId>javax.xml.bind</groupId> |
| 92 | <artifactId>jaxb-api</artifactId> |
| 93 | <version>2.3.0</version> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.glassfish.jaxb</groupId> |
| 97 | <artifactId>jaxb-runtime</artifactId> |
| 98 | <version>2.3.0</version> |
| 99 | </dependency> |
| 100 | |
| 101 | <!-- 单元测试 --> |
| 102 | <dependency> |
| 103 | <groupId>junit</groupId> |
| 104 | <artifactId>junit</artifactId> |
| 105 | <version>4.12</version> |
| 106 | </dependency> |
| 107 | |
| 108 | <!-- Mockito --> |
| 109 | <dependency> |
| 110 | <groupId>org.mockito</groupId> |
| 111 | <artifactId>mockito-core</artifactId> |
| 112 | <version>${mockito.version}</version> |
| 113 | <scope>test</scope> |
| 114 | </dependency> |
| 115 | |
Lambda | 6f532bd | 2025-05-14 15:22:57 +0800 | [diff] [blame] | 116 | <dependency> |
| 117 | <groupId>org.projectlombok</groupId> |
| 118 | <artifactId>lombok</artifactId> |
| 119 | <version>1.18.32</version> <!-- 请根据需要选择最新版本 --> |
| 120 | <scope>provided</scope> |
| 121 | </dependency> |
| 122 | |
| 123 | <dependency> |
| 124 | <groupId>com.jayway.jsonpath</groupId> |
| 125 | <artifactId>json-path</artifactId> |
| 126 | <version>2.9.0</version> |
| 127 | </dependency> |
| 128 | |
22301080 | a033473 | 2025-05-17 21:38:32 +0800 | [diff] [blame] | 129 | <!--tracker 配置--> |
| 130 | <dependency> |
| 131 | <groupId>com.turn</groupId> |
| 132 | <artifactId>ttorrent-tracker</artifactId> |
| 133 | <version>1.3.0-SNAPSHOT</version> |
| 134 | </dependency> |
| 135 | <dependency> |
| 136 | <groupId>com.turn</groupId> |
| 137 | <artifactId>ttorrent-client</artifactId> |
| 138 | <version>1.3.0-SNAPSHOT</version> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>com.turn</groupId> |
| 142 | <artifactId>ttorrent-bencoding</artifactId> |
| 143 | <version>1.3.0-SNAPSHOT</version> |
| 144 | </dependency> |
| 145 | |
| 146 | |
22301080 | 2ce82b5 | 2025-05-27 17:35:04 +0800 | [diff] [blame] | 147 | <dependency> |
| 148 | <groupId>com.fasterxml.jackson.core</groupId> |
| 149 | <artifactId>jackson-databind</artifactId> |
| 150 | </dependency> |
| 151 | <!-- Jakarta Bean Validation API --> |
| 152 | <dependency> |
| 153 | <groupId>jakarta.validation</groupId> |
| 154 | <artifactId>jakarta.validation-api</artifactId> |
| 155 | </dependency> |
| 156 | |
| 157 | <!-- Hibernate Validator(实现) --> |
| 158 | <dependency> |
| 159 | <groupId>org.hibernate.validator</groupId> |
| 160 | <artifactId>hibernate-validator</artifactId> |
| 161 | </dependency> |
| 162 | |
22301080 | fd521b0 | 2025-04-24 23:22:49 +0800 | [diff] [blame] | 163 | </dependencies> |
| 164 | |
| 165 | <build> |
| 166 | <plugins> |
| 167 | <!-- Maven 编译插件 --> |
| 168 | <plugin> |
| 169 | <groupId>org.apache.maven.plugins</groupId> |
| 170 | <artifactId>maven-compiler-plugin</artifactId> |
| 171 | <version>3.13.0</version> |
| 172 | <configuration> |
| 173 | <source>${java.version}</source> |
| 174 | <target>${java.version}</target> |
| 175 | </configuration> |
| 176 | </plugin> |
| 177 | |
| 178 | <!-- 解决 Mockito 警告 --> |
| 179 | <plugin> |
| 180 | <groupId>org.apache.maven.plugins</groupId> |
| 181 | <artifactId>maven-surefire-plugin</artifactId> |
| 182 | <version>3.5.2</version> |
| 183 | <configuration> |
| 184 | <argLine> |
| 185 | -javaagent:"${settings.localRepository}/net/bytebuddy/byte-buddy-agent/1.15.11/byte-buddy-agent-1.15.11.jar" |
| 186 | </argLine> |
| 187 | </configuration> |
| 188 | </plugin> |
| 189 | </plugins> |
| 190 | </build> |
| 191 | </project> |