Commit 3af94dd2d16f3d9d64f811c29b96b3fba287f091
0 parents
add pom
Showing
1 changed file
with
553 additions
and
0 deletions
pom.xml
0 → 100644
| 1 | +++ a/pom.xml | ||
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 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 | ||
| 5 | + http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 6 | + <modelVersion>4.0.0</modelVersion> | ||
| 7 | + | ||
| 8 | + <parent> | ||
| 9 | + <groupId>org.springframework.boot</groupId> | ||
| 10 | + <artifactId>spring-boot-starter-parent</artifactId> | ||
| 11 | + <version>3.5.9</version> | ||
| 12 | + <relativePath/> | ||
| 13 | + </parent> | ||
| 14 | + | ||
| 15 | + <groupId>com.xly</groupId> | ||
| 16 | + <artifactId>xlyAi</artifactId> | ||
| 17 | + <version>0.0.1-SNAPSHOT</version> | ||
| 18 | + <packaging>war</packaging> | ||
| 19 | + <name>xlyAi</name> | ||
| 20 | + <description>xlyAi</description> | ||
| 21 | + <properties> | ||
| 22 | + <java.version>17</java.version> | ||
| 23 | + <mybatis-spring.version>3.0.4</mybatis-spring.version> | ||
| 24 | + <pagehelper.version>2.1.0</pagehelper.version> | ||
| 25 | + <mapstruct.version>1.5.5.Final</mapstruct.version> | ||
| 26 | + <fastjson.version>2.0.50</fastjson.version> | ||
| 27 | + <jsoup.version>2.0.50</jsoup.version> | ||
| 28 | + <langchain4j.version>0.35.0</langchain4j.version> | ||
| 29 | + <!-- AI 服务商 SDK 版本 --> | ||
| 30 | + <openai-java.version>0.20.0</openai-java.version> | ||
| 31 | + <anthropic-sdk.version>1.7.4</anthropic-sdk.version> | ||
| 32 | + <!-- 工具类 --> | ||
| 33 | + <lombok.version>1.18.34</lombok.version> | ||
| 34 | + <hutool.version>5.8.28</hutool.version> | ||
| 35 | + <okhttp.version>4.10.0</okhttp.version> | ||
| 36 | + <springdoc.version>2.5.0</springdoc.version> | ||
| 37 | + <mapstruct.version>1.5.5.Final</mapstruct.version> | ||
| 38 | + <!-- JSON 处理 --> | ||
| 39 | + <jackson.version>2.17.2</jackson.version> | ||
| 40 | + <json-schema.version>1.17.2</json-schema.version> | ||
| 41 | + <!-- 向量数据 --> | ||
| 42 | + <weaviate.version>4.4.0</weaviate.version> | ||
| 43 | + </properties> | ||
| 44 | + | ||
| 45 | + <dependencies> | ||
| 46 | + <!-- Spring Boot Starters --> | ||
| 47 | + <dependency> | ||
| 48 | + <groupId>org.springframework.boot</groupId> | ||
| 49 | + <artifactId>spring-boot-starter-web</artifactId> | ||
| 50 | + </dependency> | ||
| 51 | + | ||
| 52 | + <dependency> | ||
| 53 | + <groupId>org.springframework.boot</groupId> | ||
| 54 | + <artifactId>spring-boot-starter-validation</artifactId> | ||
| 55 | + </dependency> | ||
| 56 | + <dependency> | ||
| 57 | + <groupId>com.alibaba</groupId> | ||
| 58 | + <artifactId>fastjson</artifactId> | ||
| 59 | + <version>2.0.47</version> <!-- 最新稳定版 --> | ||
| 60 | + </dependency> | ||
| 61 | + <dependency> | ||
| 62 | + <groupId>org.springframework.boot</groupId> | ||
| 63 | + <artifactId>spring-boot-starter-aop</artifactId> | ||
| 64 | + </dependency> | ||
| 65 | + | ||
| 66 | + <!-- Spring Cloud Context 依赖 --> | ||
| 67 | + <dependency> | ||
| 68 | + <groupId>org.springframework.cloud</groupId> | ||
| 69 | + <artifactId>spring-cloud-context</artifactId> | ||
| 70 | + <version>4.1.0</version> <!-- 根据你的Spring Boot版本选择 --> | ||
| 71 | + </dependency> | ||
| 72 | + | ||
| 73 | + <dependency> | ||
| 74 | + <groupId>org.springframework.boot</groupId> | ||
| 75 | + <artifactId>spring-boot-starter-webflux</artifactId> | ||
| 76 | + </dependency> | ||
| 77 | + <dependency> | ||
| 78 | + <groupId>org.springframework.boot</groupId> | ||
| 79 | + <artifactId>spring-boot-starter-thymeleaf</artifactId> | ||
| 80 | + </dependency> | ||
| 81 | + | ||
| 82 | + <!-- MyBatis --> | ||
| 83 | + <dependency> | ||
| 84 | + <groupId>org.mybatis.spring.boot</groupId> | ||
| 85 | + <artifactId>mybatis-spring-boot-starter</artifactId> | ||
| 86 | + <version>${mybatis-spring.version}</version> | ||
| 87 | + </dependency> | ||
| 88 | + | ||
| 89 | + <!-- 数据库 --> | ||
| 90 | + <dependency> | ||
| 91 | + <groupId>com.mysql</groupId> | ||
| 92 | + <artifactId>mysql-connector-j</artifactId> | ||
| 93 | + <scope>runtime</scope> | ||
| 94 | + </dependency> | ||
| 95 | + | ||
| 96 | + <!-- 连接池(Spring Boot 3.x 默认包含 HikariCP) --> | ||
| 97 | + <dependency> | ||
| 98 | + <groupId>com.zaxxer</groupId> | ||
| 99 | + <artifactId>HikariCP</artifactId> | ||
| 100 | + </dependency> | ||
| 101 | + | ||
| 102 | + <!-- 分页插件 --> | ||
| 103 | + <dependency> | ||
| 104 | + <groupId>com.github.pagehelper</groupId> | ||
| 105 | + <artifactId>pagehelper-spring-boot-starter</artifactId> | ||
| 106 | + <version>${pagehelper.version}</version> | ||
| 107 | + </dependency> | ||
| 108 | + | ||
| 109 | + <!-- Maven依赖 --> | ||
| 110 | + <dependency> | ||
| 111 | + <groupId>org.jsoup</groupId> | ||
| 112 | + <artifactId>jsoup</artifactId> | ||
| 113 | + <version>${json-schema.version}</version> | ||
| 114 | + </dependency> | ||
| 115 | + | ||
| 116 | + <!-- 工具类 --> | ||
| 117 | + <dependency> | ||
| 118 | + <groupId>org.projectlombok</groupId> | ||
| 119 | + <artifactId>lombok</artifactId> | ||
| 120 | + <optional>true</optional> | ||
| 121 | + </dependency> | ||
| 122 | + | ||
| 123 | + <dependency> | ||
| 124 | + <groupId>cn.hutool</groupId> | ||
| 125 | + <artifactId>hutool-all</artifactId> | ||
| 126 | + <version>${hutool.version}</version> | ||
| 127 | + </dependency> | ||
| 128 | + | ||
| 129 | + <dependency> | ||
| 130 | + <groupId>cglib</groupId> | ||
| 131 | + <artifactId>cglib</artifactId> | ||
| 132 | + <version>3.3.0</version> | ||
| 133 | + </dependency> | ||
| 134 | + <!-- pom.xml --> | ||
| 135 | + <dependency> | ||
| 136 | + <groupId>org.codehaus.groovy</groupId> | ||
| 137 | + <artifactId>groovy</artifactId> | ||
| 138 | + <version>3.0.20</version> <!-- 或者 4.0.0+ --> | ||
| 139 | + </dependency> | ||
| 140 | + | ||
| 141 | + <!-- 如果需要 Groovy 编译支持 --> | ||
| 142 | + <dependency> | ||
| 143 | + <groupId>org.codehaus.groovy</groupId> | ||
| 144 | + <artifactId>groovy-all</artifactId> | ||
| 145 | + <version>3.0.20</version> | ||
| 146 | + <type>pom</type> | ||
| 147 | + </dependency> | ||
| 148 | + | ||
| 149 | + <!-- MapStruct --> | ||
| 150 | + <dependency> | ||
| 151 | + <groupId>org.mapstruct</groupId> | ||
| 152 | + <artifactId>mapstruct</artifactId> | ||
| 153 | + <version>${mapstruct.version}</version> | ||
| 154 | + </dependency> | ||
| 155 | + | ||
| 156 | + <dependency> | ||
| 157 | + <groupId>org.mapstruct</groupId> | ||
| 158 | + <artifactId>mapstruct-processor</artifactId> | ||
| 159 | + <version>${mapstruct.version}</version> | ||
| 160 | + <scope>provided</scope> | ||
| 161 | + </dependency> | ||
| 162 | + | ||
| 163 | + <!-- JSON --> | ||
| 164 | + <dependency> | ||
| 165 | + <groupId>com.alibaba.fastjson2</groupId> | ||
| 166 | + <artifactId>fastjson2</artifactId> | ||
| 167 | + <version>${fastjson.version}</version> | ||
| 168 | + </dependency> | ||
| 169 | + | ||
| 170 | + <!-- 测试 --> | ||
| 171 | + <dependency> | ||
| 172 | + <groupId>org.springframework.boot</groupId> | ||
| 173 | + <artifactId>spring-boot-starter-test</artifactId> | ||
| 174 | + <scope>test</scope> | ||
| 175 | + </dependency> | ||
| 176 | +<!-- <dependency>--> | ||
| 177 | +<!-- <groupId>org.springframework.boot</groupId>--> | ||
| 178 | +<!-- <artifactId>spring-boot-starter-data-jpa</artifactId>--> | ||
| 179 | +<!-- </dependency>--> | ||
| 180 | + | ||
| 181 | + <!-- OpenAPI 3 UI (包含所有必要依赖) --> | ||
| 182 | + <dependency> | ||
| 183 | + <groupId>org.springdoc</groupId> | ||
| 184 | + <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> | ||
| 185 | + <version>${springdoc.version}</version> | ||
| 186 | + </dependency> | ||
| 187 | + | ||
| 188 | + <!-- Swagger 注解 --> | ||
| 189 | + <dependency> | ||
| 190 | + <groupId>io.swagger.core.v3</groupId> | ||
| 191 | + <artifactId>swagger-annotations</artifactId> | ||
| 192 | + <version>2.2.20</version> | ||
| 193 | + </dependency> | ||
| 194 | + | ||
| 195 | + <!-- 开发工具 --> | ||
| 196 | + <dependency> | ||
| 197 | + <groupId>org.springframework.boot</groupId> | ||
| 198 | + <artifactId>spring-boot-devtools</artifactId> | ||
| 199 | + <optional>true</optional> | ||
| 200 | + </dependency> | ||
| 201 | + | ||
| 202 | + <!-- 中文分词 --> | ||
| 203 | + <dependency> | ||
| 204 | + <groupId>com.huaban</groupId> | ||
| 205 | + <artifactId>jieba-analysis</artifactId> | ||
| 206 | + <version>1.0.2</version> | ||
| 207 | + </dependency> | ||
| 208 | + | ||
| 209 | + <!-- 向量数据库 --> | ||
| 210 | +<!-- <dependency>--> | ||
| 211 | +<!-- <groupId>io.weaviate</groupId>--> | ||
| 212 | +<!-- <artifactId>client</artifactId>--> | ||
| 213 | +<!-- <version>${weaviate.version}</version>--> | ||
| 214 | +<!-- </dependency>--> | ||
| 215 | + <!--向量存储 --> | ||
| 216 | + <!-- <dependency>--> | ||
| 217 | + <!-- <groupId>dev.langchain4j</groupId>--> | ||
| 218 | + <!-- <artifactId>langchain4j-chroma</artifactId>--> | ||
| 219 | + <!-- <version>${langchain4j.version}</version>--> | ||
| 220 | + <!-- </dependency>--> | ||
| 221 | + <!-- 内存管理 --> | ||
| 222 | + <!-- <dependency>--> | ||
| 223 | + <!-- <groupId>dev.langchain4j</groupId>--> | ||
| 224 | + <!-- <artifactId>langchain4j-memory</artifactId>--> | ||
| 225 | + <!-- <version>${langchain4j.version}</version>--> | ||
| 226 | + <!-- </dependency>--> | ||
| 227 | + | ||
| 228 | + <!-- 专为向量相似度搜索设计 向量数据库 --> | ||
| 229 | + <!-- <dependency>--> | ||
| 230 | + <!-- <groupId>io.qdrant</groupId>--> | ||
| 231 | + <!-- <artifactId>qdrant-java</artifactId>--> | ||
| 232 | + <!-- <version>1.7.0</version>--> | ||
| 233 | + <!-- </dependency>--> | ||
| 234 | + <!-- 支持的文件格式 --> | ||
| 235 | + <dependency> | ||
| 236 | + <groupId>org.apache.tika</groupId> | ||
| 237 | + <artifactId>tika-core</artifactId> | ||
| 238 | + <version>2.9.1</version> | ||
| 239 | + </dependency> | ||
| 240 | + <dependency> | ||
| 241 | + <groupId>org.apache.pdfbox</groupId> | ||
| 242 | + <artifactId>pdfbox</artifactId> | ||
| 243 | + <version>3.0.2</version> | ||
| 244 | + </dependency> | ||
| 245 | + <dependency> | ||
| 246 | + <groupId>org.apache.poi</groupId> | ||
| 247 | + <artifactId>poi-ooxml</artifactId> | ||
| 248 | + <version>5.2.5</version> | ||
| 249 | + </dependency> | ||
| 250 | + | ||
| 251 | + <!-- 可选:文档处理 --> | ||
| 252 | + <dependency> | ||
| 253 | + <groupId>com.fasterxml.jackson.core</groupId> | ||
| 254 | + <artifactId>jackson-databind</artifactId> | ||
| 255 | + </dependency> | ||
| 256 | + <!-- 注入--> | ||
| 257 | + <dependency> | ||
| 258 | + <groupId>javax.annotation</groupId> | ||
| 259 | + <artifactId>javax.annotation-api</artifactId> | ||
| 260 | + <version>1.3.2</version> | ||
| 261 | + </dependency> | ||
| 262 | + | ||
| 263 | + <!-- H2 Database --> | ||
| 264 | + <!-- 最新稳定版本 --> | ||
| 265 | + <!-- <dependency>--> | ||
| 266 | + <!-- <groupId>com.h2database</groupId>--> | ||
| 267 | + <!-- <artifactId>h2</artifactId>--> | ||
| 268 | + <!-- <version>2.2.224</version>--> | ||
| 269 | + <!-- </dependency>--> | ||
| 270 | + | ||
| 271 | + <!-- 数据验证 --> | ||
| 272 | + <!-- <dependency>--> | ||
| 273 | + <!-- <groupId>org.hibernate.orm</groupId>--> | ||
| 274 | + <!-- <artifactId>hibernate-core</artifactId>--> | ||
| 275 | + <!-- <version>6.4.4.Final</version>--> | ||
| 276 | + <!-- </dependency>--> | ||
| 277 | + <!-- <dependency>--> | ||
| 278 | + <!-- <groupId>org.hibernate.validator</groupId>--> | ||
| 279 | + <!-- <artifactId>hibernate-validator</artifactId>--> | ||
| 280 | + <!-- <version>8.0.1.Final</version>--> | ||
| 281 | + <!-- </dependency>--> | ||
| 282 | + <dependency> | ||
| 283 | + <groupId>jakarta.persistence</groupId> | ||
| 284 | + <artifactId>jakarta.persistence-api</artifactId> | ||
| 285 | + <version>3.1.0</version> | ||
| 286 | + </dependency> | ||
| 287 | + | ||
| 288 | + | ||
| 289 | + <!-- <dependency>--> | ||
| 290 | + <!-- <groupId>dev.langchain4j</groupId>--> | ||
| 291 | + <!-- <artifactId>langchain4j-document-parser-apache-pdfbox</artifactId>--> | ||
| 292 | + <!-- <version>${langchain4jpdf.version}</version>--> | ||
| 293 | + <!-- </dependency>--> | ||
| 294 | + | ||
| 295 | + | ||
| 296 | + <!-- 工具调用 --> | ||
| 297 | + <!-- <dependency>--> | ||
| 298 | + <!-- <groupId>dev.langchain4j</groupId>--> | ||
| 299 | + <!-- <artifactId>langchain4j</artifactId>--> | ||
| 300 | + <!-- <version>${langchain4-10.version}</version>--> | ||
| 301 | + <!-- </dependency>--> | ||
| 302 | + | ||
| 303 | + <!-- ========== 官方 SDK(可选) ========== --> | ||
| 304 | + <!-- OpenAI 官方 SDK --> | ||
| 305 | + <!-- <dependency>--> | ||
| 306 | + <!-- <groupId>com.theokanning.openai-gpt3-java</groupId>--> | ||
| 307 | + <!-- <artifactId>service</artifactId>--> | ||
| 308 | + <!-- <version>${openai-java.version}</version>--> | ||
| 309 | + <!-- </dependency>--> | ||
| 310 | + | ||
| 311 | + <!-- <!– Anthropic 官方 SDK –>--> | ||
| 312 | + <!-- <dependency>--> | ||
| 313 | + <!-- <groupId>com.anthropics</groupId>--> | ||
| 314 | + <!-- <artifactId>anthropic-sdk-java</artifactId>--> | ||
| 315 | + <!-- <version>${anthropic-sdk.version}</version>--> | ||
| 316 | + <!-- </dependency>--> | ||
| 317 | + | ||
| 318 | + <!-- 嵌入向量 --> | ||
| 319 | + <!-- <dependency>--> | ||
| 320 | + <!-- <groupId>dev.langchain4j</groupId>--> | ||
| 321 | + <!-- <artifactId>langchain4j-embeddings</artifactId>--> | ||
| 322 | + <!-- <version>${langchain4jbeta.version}</version>--> | ||
| 323 | + <!-- </dependency>--> | ||
| 324 | + | ||
| 325 | + | ||
| 326 | + <!-- ========== LangChain4j 1.10.0 ========== --> | ||
| 327 | + <!-- 核心库 --> | ||
| 328 | + <dependency> | ||
| 329 | + <groupId>dev.langchain4j</groupId> | ||
| 330 | + <artifactId>langchain4j-core</artifactId> | ||
| 331 | + <version>${langchain4j.version}</version> | ||
| 332 | + </dependency> | ||
| 333 | + | ||
| 334 | + <!-- OpenAI 集成(支持 Function Calling) --> | ||
| 335 | +<!-- <dependency>--> | ||
| 336 | +<!-- <groupId>dev.langchain4j</groupId>--> | ||
| 337 | +<!-- <artifactId>langchain4j-open-ai</artifactId>--> | ||
| 338 | +<!-- <version>${langchain4j.version}</version>--> | ||
| 339 | +<!-- </dependency>--> | ||
| 340 | + | ||
| 341 | + <dependency> | ||
| 342 | + <groupId>dev.langchain4j</groupId> | ||
| 343 | + <artifactId>langchain4j</artifactId> | ||
| 344 | + <version>${langchain4j.version}</version> | ||
| 345 | + </dependency> | ||
| 346 | + <!-- <dependency>--> | ||
| 347 | + <!-- <groupId>dev.langchain4j</groupId>--> | ||
| 348 | + <!-- <artifactId>langchain4j-embeddings</artifactId>--> | ||
| 349 | + <!-- <version>${langchain4j.version}</version>--> | ||
| 350 | + <!-- </dependency>--> | ||
| 351 | + <dependency> | ||
| 352 | + <groupId>dev.langchain4j</groupId> | ||
| 353 | + <artifactId>langchain4j-ollama</artifactId> | ||
| 354 | + <version>${langchain4j.version}</version> | ||
| 355 | + </dependency> | ||
| 356 | + | ||
| 357 | + <!-- ONNX Runtime(必需) --> | ||
| 358 | + <dependency> | ||
| 359 | + <groupId>com.microsoft.onnxruntime</groupId> | ||
| 360 | + <artifactId>onnxruntime</artifactId> | ||
| 361 | + <version>1.17.0</version> | ||
| 362 | + </dependency> | ||
| 363 | + | ||
| 364 | + <!-- 文档加载器 --> | ||
| 365 | + <!-- Tika 文档解析器(支持多种格式) --> | ||
| 366 | + <!-- <dependency>--> | ||
| 367 | + <!-- <groupId>dev.langchain4j</groupId>--> | ||
| 368 | + <!-- <artifactId>langchain4j-document-parser-tika</artifactId>--> | ||
| 369 | + <!-- <version>${langchain4j.version}</version>--> | ||
| 370 | + <!-- </dependency>--> | ||
| 371 | + | ||
| 372 | + <!-- 或者使用 Apache Tika 直接 --> | ||
| 373 | + <dependency> | ||
| 374 | + <groupId>org.apache.tika</groupId> | ||
| 375 | + <artifactId>tika-core</artifactId> | ||
| 376 | + <version>2.9.1</version> | ||
| 377 | + </dependency> | ||
| 378 | + | ||
| 379 | + <dependency> | ||
| 380 | + <groupId>org.apache.tika</groupId> | ||
| 381 | + <artifactId>tika-parsers-standard-package</artifactId> | ||
| 382 | + <version>2.9.1</version> | ||
| 383 | + </dependency> | ||
| 384 | + | ||
| 385 | + <!-- 嵌入向量 --> | ||
| 386 | + <!-- <dependency>--> | ||
| 387 | + <!-- <groupId>dev.langchain4j</groupId>--> | ||
| 388 | + <!-- <artifactId>langchain4j-embeddings</artifactId>--> | ||
| 389 | + <!-- <version>${langchain4jbeta.version}</version>--> | ||
| 390 | + <!-- </dependency>--> | ||
| 391 | + | ||
| 392 | + <!-- Spring Retry --> | ||
| 393 | + <dependency> | ||
| 394 | + <groupId>org.springframework.retry</groupId> | ||
| 395 | + <artifactId>spring-retry</artifactId> | ||
| 396 | + <version>2.0.5</version> <!-- 最新版本,根据Spring版本调整 --> | ||
| 397 | + </dependency> | ||
| 398 | + | ||
| 399 | + <!-- Spring AOP (必需) --> | ||
| 400 | + <dependency> | ||
| 401 | + <groupId>org.springframework</groupId> | ||
| 402 | + <artifactId>spring-aspects</artifactId> | ||
| 403 | + <version>5.3.30</version> <!-- 与你的Spring版本保持一致 --> | ||
| 404 | + </dependency> | ||
| 405 | + | ||
| 406 | + <dependency> | ||
| 407 | + <groupId>com.microsoft.cognitiveservices.speech</groupId> | ||
| 408 | + <artifactId>client-sdk</artifactId> | ||
| 409 | + <version>1.37.0</version> | ||
| 410 | + <scope>compile</scope> | ||
| 411 | + </dependency> | ||
| 412 | + | ||
| 413 | + <!-- ========== 验证框架 ========== --> | ||
| 414 | + <dependency> | ||
| 415 | + <groupId>jakarta.validation</groupId> | ||
| 416 | + <artifactId>jakarta.validation-api</artifactId> | ||
| 417 | + <version>${jakarta-validation.version}</version> | ||
| 418 | + </dependency> | ||
| 419 | + | ||
| 420 | + <dependency> | ||
| 421 | + <groupId>org.glassfish</groupId> | ||
| 422 | + <artifactId>jakarta.el</artifactId> | ||
| 423 | + <version>4.0.2</version> | ||
| 424 | + </dependency> | ||
| 425 | + | ||
| 426 | + <!-- ========== JSON 处理 ========== --> | ||
| 427 | + <dependency> | ||
| 428 | + <groupId>com.fasterxml.jackson.core</groupId> | ||
| 429 | + <artifactId>jackson-databind</artifactId> | ||
| 430 | + <version>${jackson.version}</version> | ||
| 431 | + </dependency> | ||
| 432 | + | ||
| 433 | + <dependency> | ||
| 434 | + <groupId>com.fasterxml.jackson.core</groupId> | ||
| 435 | + <artifactId>jackson-core</artifactId> | ||
| 436 | + <version>${jackson.version}</version> | ||
| 437 | + </dependency> | ||
| 438 | + | ||
| 439 | + <dependency> | ||
| 440 | + <groupId>com.fasterxml.jackson.core</groupId> | ||
| 441 | + <artifactId>jackson-annotations</artifactId> | ||
| 442 | + <version>${jackson.version}</version> | ||
| 443 | + </dependency> | ||
| 444 | + | ||
| 445 | + <dependency> | ||
| 446 | + <groupId>com.fasterxml.jackson.datatype</groupId> | ||
| 447 | + <artifactId>jackson-datatype-jsr310</artifactId> | ||
| 448 | + <version>${jackson.version}</version> | ||
| 449 | + </dependency> | ||
| 450 | + | ||
| 451 | + | ||
| 452 | + <!-- Jackson 数据绑定(最常用) --> | ||
| 453 | + <dependency> | ||
| 454 | + <groupId>com.fasterxml.jackson.core</groupId> | ||
| 455 | + <artifactId>jackson-databind</artifactId> | ||
| 456 | + <version>${jackson.version}</version> | ||
| 457 | + </dependency> | ||
| 458 | + | ||
| 459 | + <!-- Jackson 注解支持 --> | ||
| 460 | + <dependency> | ||
| 461 | + <groupId>com.fasterxml.jackson.core</groupId> | ||
| 462 | + <artifactId>jackson-annotations</artifactId> | ||
| 463 | + <version>${jackson.version}</version> | ||
| 464 | + </dependency> | ||
| 465 | + | ||
| 466 | + <!-- ========== 工具类 ========== --> | ||
| 467 | + <dependency> | ||
| 468 | + <groupId>org.projectlombok</groupId> | ||
| 469 | + <artifactId>lombok</artifactId> | ||
| 470 | + <version>${lombok.version}</version> | ||
| 471 | + <optional>true</optional> | ||
| 472 | + </dependency> | ||
| 473 | + | ||
| 474 | + <dependency> | ||
| 475 | + <groupId>org.mapstruct</groupId> | ||
| 476 | + <artifactId>mapstruct</artifactId> | ||
| 477 | + <version>${mapstruct.version}</version> | ||
| 478 | + </dependency> | ||
| 479 | + | ||
| 480 | + <dependency> | ||
| 481 | + <groupId>org.mapstruct</groupId> | ||
| 482 | + <artifactId>mapstruct-processor</artifactId> | ||
| 483 | + <version>${mapstruct.version}</version> | ||
| 484 | + <scope>provided</scope> | ||
| 485 | + </dependency> | ||
| 486 | + | ||
| 487 | + <dependency> | ||
| 488 | + <groupId>com.squareup.okhttp3</groupId> | ||
| 489 | + <artifactId>okhttp</artifactId> | ||
| 490 | + <version>${okhttp.version}</version> <!-- 使用最新版本 --> | ||
| 491 | + </dependency> | ||
| 492 | + | ||
| 493 | + <!-- Edge-TTS Python执行相关 --> | ||
| 494 | + <dependency> | ||
| 495 | + <groupId>org.python</groupId> | ||
| 496 | + <artifactId>jython-standalone</artifactId> | ||
| 497 | + <version>2.7.3</version> | ||
| 498 | + </dependency> | ||
| 499 | + | ||
| 500 | + <!-- 工具类 --> | ||
| 501 | + <dependency> | ||
| 502 | + <groupId>org.apache.commons</groupId> | ||
| 503 | + <artifactId>commons-exec</artifactId> | ||
| 504 | + <version>1.3</version> | ||
| 505 | + </dependency> | ||
| 506 | + | ||
| 507 | + | ||
| 508 | + </dependencies> | ||
| 509 | + <build> | ||
| 510 | + <finalName>xlyAi</finalName> | ||
| 511 | + | ||
| 512 | + <!-- 添加资源目录 --> | ||
| 513 | + <resources> | ||
| 514 | + <resource> | ||
| 515 | + <directory>src/main/resources</directory> | ||
| 516 | + <filtering>true</filtering> | ||
| 517 | + <includes> | ||
| 518 | + <include>**/*</include> | ||
| 519 | + </includes> | ||
| 520 | + </resource> | ||
| 521 | + </resources> | ||
| 522 | + | ||
| 523 | + <plugins> | ||
| 524 | + <!-- 编译插件 --> | ||
| 525 | + <plugin> | ||
| 526 | + <groupId>org.apache.maven.plugins</groupId> | ||
| 527 | + <artifactId>maven-compiler-plugin</artifactId> | ||
| 528 | + <version>3.11.0</version> | ||
| 529 | + <configuration> | ||
| 530 | + <source>17</source> | ||
| 531 | + <target>17</target> | ||
| 532 | + <encoding>UTF-8</encoding> | ||
| 533 | + <annotationProcessorPaths> | ||
| 534 | + <path> | ||
| 535 | + <groupId>org.projectlombok</groupId> | ||
| 536 | + <artifactId>lombok</artifactId> | ||
| 537 | + <version>${lombok.version}</version> | ||
| 538 | + </path> | ||
| 539 | + </annotationProcessorPaths> | ||
| 540 | + <!-- 详细输出 --> | ||
| 541 | + <verbose>true</verbose> | ||
| 542 | + <showWarnings>true</showWarnings> | ||
| 543 | + </configuration> | ||
| 544 | + </plugin> | ||
| 545 | + | ||
| 546 | + <!-- Spring Boot 插件 --> | ||
| 547 | + <plugin> | ||
| 548 | + <groupId>org.springframework.boot</groupId> | ||
| 549 | + <artifactId>spring-boot-maven-plugin</artifactId> | ||
| 550 | + </plugin> | ||
| 551 | + </plugins> | ||
| 552 | + </build> | ||
| 553 | +</project> | ||
| 0 | \ No newline at end of file | 554 | \ No newline at end of file |