blob: 45222355a4866b77081439a8eeef39e3e90b0206 [file] [log] [blame]
223010243394e0e2025-04-15 17:47:02 +08001<?xml version="1.0" encoding="UTF-8"?>
Your Name695f6a62025-05-17 00:58:04 +08002<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>
22301014f3cf5d52025-05-29 16:19:04 +080033
Your Name695f6a62025-05-17 00:58:04 +080034 <dependencies>
35 <dependency>
36 <groupId>org.springframework.boot</groupId>
37 <artifactId>spring-boot-starter-web</artifactId>
38 </dependency>
22301014f3cf5d52025-05-29 16:19:04 +080039<!-- 热重载支持 -->
40 <dependency>
41 <groupId>org.springframework.boot</groupId>
42 <artifactId>spring-boot-devtools</artifactId>
43 <optional>true</optional>
44 </dependency>
Your Name695f6a62025-05-17 00:58:04 +080045 <dependency>
46 <groupId>com.h2database</groupId>
47 <artifactId>h2</artifactId>
48 <scope>test</scope>
49 </dependency>
223010243394e0e2025-04-15 17:47:02 +080050
Your Name695f6a62025-05-17 00:58:04 +080051 <dependency>
Your Name695f6a62025-05-17 00:58:04 +080052 <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 Name292c25d2025-05-25 01:21:44 +080070 <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 Name695f6a62025-05-17 00:58:04 +080077 <groupId>io.springfox</groupId>
78 <artifactId>springfox-boot-starter</artifactId>
79 <version>3.0.0</version>
80 </dependency>
81
82 <dependency>
Your Name292c25d2025-05-25 01:21:44 +080083 <groupId>org.springdoc</groupId>
84 <artifactId>springdoc-openapi-ui</artifactId>
85 <version>1.6.14</version> <!-- 或者最新版本 -->
86 </dependency>
87
88 <dependency>
Your Name695f6a62025-05-17 00:58:04 +080089 <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>
111 <groupId>org.mybatis.spring.boot</groupId>
112 <artifactId>mybatis-spring-boot-starter</artifactId>
113 <version>3.0.3</version>
114 </dependency>
115 <dependency>
116 <groupId>com.theokanning.openai-gpt3-java</groupId>
117 <artifactId>client</artifactId>
118 <version>0.9.0</version>
119 </dependency>
120 <dependency>
121 <groupId>junit</groupId>
122 <artifactId>junit</artifactId>
123 <scope>test</scope>
124 </dependency>
125 <dependency>
126 <groupId>org.springframework.boot</groupId>
127 <artifactId>spring-boot-starter-test</artifactId>
128 <scope>test</scope>
129 </dependency>
130 <dependency>
131 <groupId>org.mockito</groupId>
132 <artifactId>mockito-core</artifactId>
Your Name292c25d2025-05-25 01:21:44 +0800133 <version>5.5.0</version>
Your Name695f6a62025-05-17 00:58:04 +0800134 <scope>test</scope>
135 </dependency>
136 <dependency>
137 <groupId>org.springframework.boot</groupId>
138 <artifactId>spring-boot-starter-mail</artifactId>
139 </dependency>
140 <dependency>
141 <groupId>com.sun.mail</groupId>
142 <artifactId>jakarta.mail</artifactId>
143 <version>2.0.1</version>
144 </dependency>
145
146 </dependencies>
147
148 <build>
149 <plugins>
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-compiler-plugin</artifactId>
153 <version>3.11.0</version>
154 <configuration>
155 <source>17</source> <!-- 保持与Java版本一致 -->
156 <target>17</target>
157 <compilerArgs>
158 <arg>-parameters</arg> <!-- 保留方法参数名 -->
159 </compilerArgs>
160 <annotationProcessorPaths>
161 <path>
162 <groupId>org.projectlombok</groupId>
163 <artifactId>lombok</artifactId>
164 <version>1.18.30</version>
165 </path>
166 </annotationProcessorPaths>
167 </configuration>
168 </plugin>
169 <plugin>
170 <groupId>org.springframework.boot</groupId>
171 <artifactId>spring-boot-maven-plugin</artifactId>
172 <version>3.1.5</version>
173 <configuration>
174 <excludes>
175 <exclude>
176 <groupId>org.projectlombok</groupId>
177 <artifactId>lombok</artifactId>
178 </exclude>
179 </excludes>
180 <executable>true</executable><!-- 支持可执行JAR -->
181 </configuration>
182 <executions>
183 <execution>
184 <goals>
185 <goal>repackage</goal>
186 </goals>
187 </execution>
188 </executions>
189 </plugin>
190 </plugins>
191 </build>
192
193</project>