22301024 | 3394e0e | 2025-04-15 17:47:02 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | <parent> |
| 7 | <groupId>org.springframework.boot</groupId> |
| 8 | <artifactId>spring-boot-starter-parent</artifactId> |
| 9 | <version>3.4.5</version> |
| 10 | <relativePath /> <!-- lookup parent from repository --> |
| 11 | </parent> |
| 12 | <groupId>edu.bjtu.groupone</groupId> |
| 13 | <artifactId>backend</artifactId> |
| 14 | <version>0.0.1-SNAPSHOT</version> |
| 15 | <name>backend</name> |
| 16 | <description>backend</description> |
| 17 | <url /> |
| 18 | <licenses> |
| 19 | <license /> |
| 20 | </licenses> |
| 21 | <developers> |
| 22 | <developer /> |
| 23 | </developers> |
| 24 | <scm> |
| 25 | <connection /> |
| 26 | <developerConnection /> |
| 27 | <tag /> |
| 28 | <url /> |
| 29 | </scm> |
| 30 | <properties> |
| 31 | <java.version>17</java.version> |
| 32 | </properties> |
22301014 | f3cf5d5 | 2025-05-29 16:19:04 +0800 | [diff] [blame] | 33 | |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>org.springframework.boot</groupId> |
| 37 | <artifactId>spring-boot-starter-web</artifactId> |
| 38 | </dependency> |
22301014 | f3cf5d5 | 2025-05-29 16:19:04 +0800 | [diff] [blame] | 39 | <!-- 热重载支持 --> |
| 40 | <dependency> |
| 41 | <groupId>org.springframework.boot</groupId> |
| 42 | <artifactId>spring-boot-devtools</artifactId> |
| 43 | <optional>true</optional> |
| 44 | </dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>com.h2database</groupId> |
| 47 | <artifactId>h2</artifactId> |
| 48 | <scope>test</scope> |
| 49 | </dependency> |
22301024 | 3394e0e | 2025-04-15 17:47:02 +0800 | [diff] [blame] | 50 | |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 51 | <dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 52 | <groupId>org.projectlombok</groupId> |
| 53 | <artifactId>lombok</artifactId> |
| 54 | <optional>true</optional> |
| 55 | </dependency> |
| 56 | |
| 57 | <dependency> |
| 58 | <groupId>com.mysql</groupId> |
| 59 | <artifactId>mysql-connector-j</artifactId> |
| 60 | <scope>runtime</scope> |
| 61 | </dependency> |
| 62 | |
| 63 | <dependency> |
| 64 | <groupId>org.springframework.boot</groupId> |
| 65 | <artifactId>spring-boot-starter-test</artifactId> |
| 66 | <scope>test</scope> |
| 67 | </dependency> |
| 68 | |
| 69 | <dependency> |
Your Name | 292c25d | 2025-05-25 01:21:44 +0800 | [diff] [blame] | 70 | <groupId>org.springdoc</groupId> |
| 71 | <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
| 72 | <version>2.1.0</version> <!-- 或最新稳定版 --> |
| 73 | </dependency> |
| 74 | |
| 75 | |
| 76 | <dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 77 | <groupId>io.springfox</groupId> |
| 78 | <artifactId>springfox-boot-starter</artifactId> |
| 79 | <version>3.0.0</version> |
| 80 | </dependency> |
| 81 | |
| 82 | <dependency> |
Your Name | 292c25d | 2025-05-25 01:21:44 +0800 | [diff] [blame] | 83 | <groupId>org.springdoc</groupId> |
| 84 | <artifactId>springdoc-openapi-ui</artifactId> |
| 85 | <version>1.6.14</version> <!-- 或者最新版本 --> |
| 86 | </dependency> |
| 87 | |
| 88 | <dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 89 | <groupId>com.volcengine</groupId> |
| 90 | <artifactId>volcengine-java-sdk-ark-runtime</artifactId> |
| 91 | <version>LATEST</version> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>com.aliyun.oss</groupId> |
| 95 | <artifactId>aliyun-sdk-oss</artifactId> |
| 96 | <version>3.17.4</version> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>io.jsonwebtoken</groupId> |
| 100 | <artifactId>jjwt</artifactId> |
| 101 | <version>0.9.1</version> |
| 102 | </dependency> |
| 103 | |
| 104 | <dependency> |
| 105 | <groupId>com.theokanning.openai-gpt3-java</groupId> |
| 106 | <artifactId>api</artifactId> |
| 107 | <version>0.9.0</version> |
| 108 | </dependency> |
| 109 | |
| 110 | <dependency> |
22301023 | 622828c | 2025-06-09 16:17:23 +0800 | [diff] [blame] | 111 | <groupId>org.projectlombok</groupId> |
| 112 | <artifactId>lombok</artifactId> |
| 113 | <version>1.18.26</version> |
| 114 | <scope>provided</scope> |
| 115 | </dependency> |
| 116 | |
| 117 | |
| 118 | <dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 119 | <groupId>org.mybatis.spring.boot</groupId> |
| 120 | <artifactId>mybatis-spring-boot-starter</artifactId> |
| 121 | <version>3.0.3</version> |
| 122 | </dependency> |
| 123 | <dependency> |
| 124 | <groupId>com.theokanning.openai-gpt3-java</groupId> |
| 125 | <artifactId>client</artifactId> |
| 126 | <version>0.9.0</version> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>junit</groupId> |
| 130 | <artifactId>junit</artifactId> |
| 131 | <scope>test</scope> |
| 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>org.springframework.boot</groupId> |
| 135 | <artifactId>spring-boot-starter-test</artifactId> |
| 136 | <scope>test</scope> |
| 137 | </dependency> |
22301024 | 1b22bd7 | 2025-06-07 03:21:07 +0800 | [diff] [blame] | 138 | |
| 139 | <dependency> |
| 140 | <groupId>javax.servlet</groupId> |
| 141 | <artifactId>javax.servlet-api</artifactId> |
| 142 | <version>4.0.1</version> |
| 143 | <scope>provided</scope> |
| 144 | </dependency> |
| 145 | |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 146 | <dependency> |
22301024 | 0eaa16b | 2025-06-05 09:29:25 +0800 | [diff] [blame] | 147 | <groupId>com.turn</groupId> |
| 148 | <artifactId>ttorrent-core</artifactId> |
| 149 | <version>1.5</version> |
| 150 | <classifier>javadoc</classifier> |
| 151 | <type>javadoc</type> |
| 152 | </dependency> |
22301024 | 0eaa16b | 2025-06-05 09:29:25 +0800 | [diff] [blame] | 153 | <dependency> |
| 154 | <groupId>com.turn</groupId> |
| 155 | <artifactId>ttorrent-core</artifactId> |
| 156 | <version>1.5</version> |
| 157 | <classifier>sources</classifier> |
| 158 | <type>java-source</type> |
| 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>com.turn</groupId> |
| 162 | <artifactId>ttorrent-core</artifactId> |
| 163 | <version>1.5</version> |
| 164 | </dependency> |
22301024 | 1b22bd7 | 2025-06-07 03:21:07 +0800 | [diff] [blame] | 165 | |
22301024 | 0eaa16b | 2025-06-05 09:29:25 +0800 | [diff] [blame] | 166 | <dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 167 | <groupId>org.mockito</groupId> |
| 168 | <artifactId>mockito-core</artifactId> |
Your Name | 292c25d | 2025-05-25 01:21:44 +0800 | [diff] [blame] | 169 | <version>5.5.0</version> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 170 | <scope>test</scope> |
| 171 | </dependency> |
| 172 | <dependency> |
| 173 | <groupId>org.springframework.boot</groupId> |
| 174 | <artifactId>spring-boot-starter-mail</artifactId> |
| 175 | </dependency> |
| 176 | <dependency> |
| 177 | <groupId>com.sun.mail</groupId> |
| 178 | <artifactId>jakarta.mail</artifactId> |
| 179 | <version>2.0.1</version> |
| 180 | </dependency> |
| 181 | |
晓瑞223 | cae85b7 | 2025-05-30 01:09:40 +0800 | [diff] [blame] | 182 | <!-- Spring Data JPA --> |
| 183 | <dependency> |
| 184 | <groupId>org.springframework.boot</groupId> |
| 185 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 186 | </dependency> |
| 187 | |
| 188 | <!-- Jackson(JSON处理) --> |
| 189 | <dependency> |
| 190 | <groupId>com.fasterxml.jackson.core</groupId> |
| 191 | <artifactId>jackson-databind</artifactId> |
| 192 | </dependency> |
| 193 | |
22301023 | 62365ca | 2025-06-09 23:54:59 +0800 | [diff] [blame^] | 194 | <dependency> |
| 195 | <groupId>com.github.pagehelper</groupId> |
| 196 | <artifactId>pagehelper-spring-boot-starter</artifactId> |
| 197 | <version>1.4.7</version> |
| 198 | </dependency> |
| 199 | |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 200 | </dependencies> |
| 201 | |
| 202 | <build> |
| 203 | <plugins> |
| 204 | <plugin> |
| 205 | <groupId>org.apache.maven.plugins</groupId> |
| 206 | <artifactId>maven-compiler-plugin</artifactId> |
| 207 | <version>3.11.0</version> |
| 208 | <configuration> |
| 209 | <source>17</source> <!-- 保持与Java版本一致 --> |
| 210 | <target>17</target> |
| 211 | <compilerArgs> |
| 212 | <arg>-parameters</arg> <!-- 保留方法参数名 --> |
| 213 | </compilerArgs> |
| 214 | <annotationProcessorPaths> |
| 215 | <path> |
| 216 | <groupId>org.projectlombok</groupId> |
| 217 | <artifactId>lombok</artifactId> |
| 218 | <version>1.18.30</version> |
| 219 | </path> |
| 220 | </annotationProcessorPaths> |
| 221 | </configuration> |
| 222 | </plugin> |
| 223 | <plugin> |
| 224 | <groupId>org.springframework.boot</groupId> |
| 225 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 226 | <version>3.1.5</version> |
| 227 | <configuration> |
| 228 | <excludes> |
| 229 | <exclude> |
| 230 | <groupId>org.projectlombok</groupId> |
| 231 | <artifactId>lombok</artifactId> |
| 232 | </exclude> |
| 233 | </excludes> |
| 234 | <executable>true</executable><!-- 支持可执行JAR --> |
| 235 | </configuration> |
| 236 | <executions> |
| 237 | <execution> |
| 238 | <goals> |
| 239 | <goal>repackage</goal> |
| 240 | </goals> |
| 241 | </execution> |
| 242 | </executions> |
| 243 | </plugin> |
| 244 | </plugins> |
| 245 | </build> |
| 246 | |
| 247 | </project> |