pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project>
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>3.3.3</version>
  8. <relativePath/>
  9. </parent>
  10. <groupId>cn.jlsxwkj</groupId>
  11. <artifactId>ragchat</artifactId>
  12. <name>ragchat</name>
  13. <description>rag chat for Spring Boot</description>
  14. <properties>
  15. <java.version>17</java.version>
  16. <spring-ai.version>1.0.0-M2</spring-ai.version>
  17. </properties>
  18. <dependencies>
  19. <!--spring web-->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <!--spring ai-->
  25. <dependency>
  26. <groupId>org.springframework.ai</groupId>
  27. <artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
  28. </dependency>
  29. <!--spring pgvector-->
  30. <dependency>
  31. <groupId>org.springframework.ai</groupId>
  32. <artifactId>spring-ai-pgvector-store-spring-boot-starter</artifactId>
  33. </dependency>
  34. <!--pdf reader-->
  35. <dependency>
  36. <groupId>org.springframework.ai</groupId>
  37. <artifactId>spring-ai-pdf-document-reader</artifactId>
  38. </dependency>
  39. <!--doc reader-->
  40. <dependency>
  41. <groupId>org.springframework.ai</groupId>
  42. <artifactId>spring-ai-tika-document-reader</artifactId>
  43. </dependency>
  44. <!--json-->
  45. <dependency>
  46. <groupId>com.fasterxml.jackson.dataformat</groupId>
  47. <artifactId>jackson-dataformat-avro</artifactId>
  48. </dependency>
  49. <!--aop-->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-aop</artifactId>
  53. </dependency>
  54. <!--postgresql-->
  55. <dependency>
  56. <groupId>org.postgresql</groupId>
  57. <artifactId>postgresql</artifactId>
  58. <scope>runtime</scope>
  59. </dependency>
  60. <!--lombok-->
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. </dependency>
  65. <!--configuration-->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-configuration-processor</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71. <!--鉴权-->
  72. <dependency>
  73. <groupId>cn.dev33</groupId>
  74. <artifactId>sa-token-spring-boot3-starter</artifactId>
  75. <version>1.38.0</version>
  76. </dependency>
  77. <!--解决 javax.annotation.meta.When.MAYBE 警告 (莫名其妙的警告)-->
  78. <dependency>
  79. <groupId>com.google.code.findbugs</groupId>
  80. <artifactId>annotations</artifactId>
  81. <version>3.0.1</version>
  82. </dependency>
  83. <!--mybatis-->
  84. <dependency>
  85. <groupId>org.mybatis.spring.boot</groupId>
  86. <artifactId>mybatis-spring-boot-starter</artifactId>
  87. <version>3.0.3</version>
  88. </dependency>
  89. <!--spring doc-->
  90. <dependency>
  91. <groupId>com.github.xiaoymin</groupId>
  92. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  93. <version>4.4.0</version>
  94. </dependency>
  95. <!--hutool-->
  96. <dependency>
  97. <groupId>cn.hutool</groupId>
  98. <artifactId>hutool-all</artifactId>
  99. <version>5.8.16</version>
  100. </dependency>
  101. <!--bucket4j-->
  102. <dependency>
  103. <groupId>com.github.vladimir-bukhtoyarov</groupId>
  104. <artifactId>bucket4j-core</artifactId>
  105. <version>7.5.0</version>
  106. </dependency>
  107. <!--compress-->
  108. <dependency>
  109. <groupId>org.apache.commons</groupId>
  110. <artifactId>commons-compress</artifactId>
  111. <version>1.26.2</version>
  112. </dependency>
  113. </dependencies>
  114. <dependencyManagement>
  115. <dependencies>
  116. <dependency>
  117. <groupId>org.springframework.ai</groupId>
  118. <artifactId>spring-ai-bom</artifactId>
  119. <version>${spring-ai.version}</version>
  120. <type>pom</type>
  121. <scope>import</scope>
  122. </dependency>
  123. </dependencies>
  124. </dependencyManagement>
  125. <build>
  126. <plugins>
  127. <plugin>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-maven-plugin</artifactId>
  130. <configuration>
  131. <layout>ZIP</layout>
  132. <includes>
  133. <include>
  134. <groupId>nothing</groupId>
  135. <artifactId>nothing</artifactId>
  136. </include>
  137. </includes>
  138. </configuration>
  139. </plugin>
  140. </plugins>
  141. <!--打包后的文件名只带项目名,不带版本号-->
  142. <finalName>${project.artifactId}</finalName>
  143. </build>
  144. <repositories>
  145. <repository>
  146. <id>spring-milestones</id>
  147. <name>Spring Milestones</name>
  148. <url>https://repo.spring.io/milestone</url>
  149. <snapshots>
  150. <enabled>false</enabled>
  151. </snapshots>
  152. </repository>
  153. </repositories>
  154. </project>