pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>space.anyi</groupId>
  7. <artifactId>SpringAiAlibaba-learn</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <description>学习Spring AI Alibaba的项目</description>
  11. <modules>
  12. <module>mcp-server</module>
  13. <module>spring-ai-learn</module>
  14. </modules>
  15. <properties>
  16. <maven.compiler.source>21</maven.compiler.source>
  17. <maven.compiler.target>21</maven.compiler.target>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <spring.ai.version>1.1.2</spring.ai.version>
  20. <spring.boot.version>3.5.10</spring.boot.version>
  21. </properties>
  22. <dependencyManagement>
  23. <dependencies>
  24. <!-- Source: https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. <version>${spring.boot.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.ai</groupId>
  32. <artifactId>spring-ai-bom</artifactId>
  33. <version>${spring.ai.version}</version>
  34. <type>pom</type>
  35. <scope>import</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.ai</groupId>
  39. <artifactId>spring-ai-starter-model-openai</artifactId>
  40. <version>${spring.ai.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.ai</groupId>
  44. <artifactId>spring-ai-starter-vector-store-pgvector</artifactId>
  45. <version>${spring.ai.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.ai</groupId>
  49. <artifactId>spring-ai-rag</artifactId>
  50. <version>${spring.ai.version}</version>
  51. </dependency>
  52. <!-- Source: https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-starter-mcp-server-webflux -->
  53. <dependency>
  54. <groupId>org.springframework.ai</groupId>
  55. <artifactId>spring-ai-starter-mcp-server-webflux</artifactId>
  56. <version>${spring.ai.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.ai</groupId>
  60. <artifactId>spring-ai-starter-mcp-client-webflux</artifactId>
  61. <version>${spring.ai.version}</version>
  62. </dependency>
  63. </dependencies>
  64. </dependencyManagement>
  65. </project>