| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>3.4.5</version>
- <relativePath/>
- </parent>
- <groupId>com.rag</groupId>
- <artifactId>rag-kb-backend</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <name>rag-kb-backend</name>
- <description>RAG Knowledge Base Backend - 企业级RAG知识库系统</description>
- <!-- <properties>-->
- <!-- <java.version>25</java.version>-->
- <!-- <spring-ai.version>1.0.0-M6</spring-ai.version>-->
- <!-- <springdoc.version>2.7.0</springdoc.version>-->
- <!-- </properties>-->
- <properties>
- <java.version>19</java.version>
- <spring-ai.version>1.0.0-M6</spring-ai.version>
- <springdoc.version>2.7.0</springdoc.version>
- </properties>
- <dependencies>
- <!-- Spring Boot Web -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <!-- Spring Boot Actuator(健康检查) -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- <!-- Spring AI Ollama -->
- <dependency>
- <groupId>org.springframework.ai</groupId>
- <artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
- <version>${spring-ai.version}</version>
- </dependency>
- <!-- Spring AI Milvus Vector Store -->
- <dependency>
- <groupId>org.springframework.ai</groupId>
- <artifactId>spring-ai-milvus-store-spring-boot-starter</artifactId>
- <version>${spring-ai.version}</version>
- </dependency>
- <!-- Spring AI Tika 文档解析 -->
- <dependency>
- <groupId>org.springframework.ai</groupId>
- <artifactId>spring-ai-tika-document-reader</artifactId>
- <version>${spring-ai.version}</version>
- </dependency>
- <!-- MySQL -->
- <dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- <scope>runtime</scope>
- </dependency>
- <!-- MyBatis-Plus -->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
- <version>3.5.7</version>
- </dependency>
- <!-- Redis -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <!-- Knife4j API 文档(OpenAPI3 + Spring Boot 3.x Jakarta) -->
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
- <version>4.5.0</version>
- <exclusions>
- <exclusion>
- <groupId>org.springdoc</groupId>
- <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- SpringDoc OpenAPI(显式指定兼容版本,覆盖 Knife4j 传递依赖) -->
- <dependency>
- <groupId>org.springdoc</groupId>
- <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
- <version>${springdoc.version}</version>
- </dependency>
- <!-- Lombok -->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <optional>true</optional>
- </dependency>
- <!-- 测试 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>spring-milestones</id>
- <name>Spring Milestones</name>
- <url>https://repo.spring.io/milestone</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|