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> |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>org.springframework.boot</groupId> |
| 36 | <artifactId>spring-boot-starter-web</artifactId> |
| 37 | </dependency> |
22301024 | 3394e0e | 2025-04-15 17:47:02 +0800 | [diff] [blame] | 38 | |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 39 | <dependency> |
| 40 | <groupId>com.h2database</groupId> |
| 41 | <artifactId>h2</artifactId> |
| 42 | <scope>test</scope> |
| 43 | </dependency> |
22301024 | 3394e0e | 2025-04-15 17:47:02 +0800 | [diff] [blame] | 44 | |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 45 | <dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 46 | <groupId>org.projectlombok</groupId> |
| 47 | <artifactId>lombok</artifactId> |
| 48 | <optional>true</optional> |
| 49 | </dependency> |
| 50 | |
| 51 | <dependency> |
| 52 | <groupId>com.mysql</groupId> |
| 53 | <artifactId>mysql-connector-j</artifactId> |
| 54 | <scope>runtime</scope> |
| 55 | </dependency> |
| 56 | |
| 57 | <dependency> |
| 58 | <groupId>org.springframework.boot</groupId> |
| 59 | <artifactId>spring-boot-starter-test</artifactId> |
| 60 | <scope>test</scope> |
| 61 | </dependency> |
| 62 | |
| 63 | <dependency> |
Your Name | 292c25d | 2025-05-25 01:21:44 +0800 | [diff] [blame^] | 64 | <groupId>org.springdoc</groupId> |
| 65 | <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
| 66 | <version>2.1.0</version> <!-- 或最新稳定版 --> |
| 67 | </dependency> |
| 68 | |
| 69 | |
| 70 | <dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 71 | <groupId>io.springfox</groupId> |
| 72 | <artifactId>springfox-boot-starter</artifactId> |
| 73 | <version>3.0.0</version> |
| 74 | </dependency> |
| 75 | |
| 76 | <dependency> |
Your Name | 292c25d | 2025-05-25 01:21:44 +0800 | [diff] [blame^] | 77 | <groupId>org.springdoc</groupId> |
| 78 | <artifactId>springdoc-openapi-ui</artifactId> |
| 79 | <version>1.6.14</version> <!-- 或者最新版本 --> |
| 80 | </dependency> |
| 81 | |
| 82 | <dependency> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 83 | <groupId>com.volcengine</groupId> |
| 84 | <artifactId>volcengine-java-sdk-ark-runtime</artifactId> |
| 85 | <version>LATEST</version> |
| 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>com.aliyun.oss</groupId> |
| 89 | <artifactId>aliyun-sdk-oss</artifactId> |
| 90 | <version>3.17.4</version> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>io.jsonwebtoken</groupId> |
| 94 | <artifactId>jjwt</artifactId> |
| 95 | <version>0.9.1</version> |
| 96 | </dependency> |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>com.theokanning.openai-gpt3-java</groupId> |
| 100 | <artifactId>api</artifactId> |
| 101 | <version>0.9.0</version> |
| 102 | </dependency> |
| 103 | |
| 104 | <dependency> |
| 105 | <groupId>org.mybatis.spring.boot</groupId> |
| 106 | <artifactId>mybatis-spring-boot-starter</artifactId> |
| 107 | <version>3.0.3</version> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>com.theokanning.openai-gpt3-java</groupId> |
| 111 | <artifactId>client</artifactId> |
| 112 | <version>0.9.0</version> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>junit</groupId> |
| 116 | <artifactId>junit</artifactId> |
| 117 | <scope>test</scope> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.springframework.boot</groupId> |
| 121 | <artifactId>spring-boot-starter-test</artifactId> |
| 122 | <scope>test</scope> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.mockito</groupId> |
| 126 | <artifactId>mockito-core</artifactId> |
Your Name | 292c25d | 2025-05-25 01:21:44 +0800 | [diff] [blame^] | 127 | <version>5.5.0</version> |
Your Name | 695f6a6 | 2025-05-17 00:58:04 +0800 | [diff] [blame] | 128 | <scope>test</scope> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>org.springframework.boot</groupId> |
| 132 | <artifactId>spring-boot-starter-mail</artifactId> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>com.sun.mail</groupId> |
| 136 | <artifactId>jakarta.mail</artifactId> |
| 137 | <version>2.0.1</version> |
| 138 | </dependency> |
| 139 | |
| 140 | </dependencies> |
| 141 | |
| 142 | <build> |
| 143 | <plugins> |
| 144 | <plugin> |
| 145 | <groupId>org.apache.maven.plugins</groupId> |
| 146 | <artifactId>maven-compiler-plugin</artifactId> |
| 147 | <version>3.11.0</version> |
| 148 | <configuration> |
| 149 | <source>17</source> <!-- 保持与Java版本一致 --> |
| 150 | <target>17</target> |
| 151 | <compilerArgs> |
| 152 | <arg>-parameters</arg> <!-- 保留方法参数名 --> |
| 153 | </compilerArgs> |
| 154 | <annotationProcessorPaths> |
| 155 | <path> |
| 156 | <groupId>org.projectlombok</groupId> |
| 157 | <artifactId>lombok</artifactId> |
| 158 | <version>1.18.30</version> |
| 159 | </path> |
| 160 | </annotationProcessorPaths> |
| 161 | </configuration> |
| 162 | </plugin> |
| 163 | <plugin> |
| 164 | <groupId>org.springframework.boot</groupId> |
| 165 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 166 | <version>3.1.5</version> |
| 167 | <configuration> |
| 168 | <excludes> |
| 169 | <exclude> |
| 170 | <groupId>org.projectlombok</groupId> |
| 171 | <artifactId>lombok</artifactId> |
| 172 | </exclude> |
| 173 | </excludes> |
| 174 | <executable>true</executable><!-- 支持可执行JAR --> |
| 175 | </configuration> |
| 176 | <executions> |
| 177 | <execution> |
| 178 | <goals> |
| 179 | <goal>repackage</goal> |
| 180 | </goals> |
| 181 | </execution> |
| 182 | </executions> |
| 183 | </plugin> |
| 184 | </plugins> |
| 185 | </build> |
| 186 | |
| 187 | </project> |