pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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. <parent>
  7. <groupId>com.giantan.mds</groupId>
  8. <artifactId>mds</artifactId>
  9. <version>1.0.0</version>
  10. </parent>
  11. <version>3.1.2</version>
  12. <artifactId>mdserver</artifactId>
  13. <properties>
  14. <maven.compiler.source>21</maven.compiler.source>
  15. <maven.compiler.target>21</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <spring.boot.version>3.5.4</spring.boot.version>
  18. <spring-ai.version>1.0.1</spring-ai.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-cache</artifactId>
  24. <version>${spring.boot.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. <version>${spring.boot.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-jdbc</artifactId>
  34. <version>${spring.boot.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.ai</groupId>
  38. <artifactId>spring-ai-advisors-vector-store</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.ai</groupId>
  42. <artifactId>spring-ai-starter-model-chat-memory</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.ai</groupId>
  46. <artifactId>spring-ai-starter-model-openai</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.ai</groupId>
  50. <artifactId>spring-ai-starter-model-deepseek</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.postgresql</groupId>
  54. <artifactId>postgresql</artifactId>
  55. <!-- <scope>runtime</scope>-->
  56. <version>42.7.5</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.age</groupId>
  60. <artifactId>jdbc</artifactId>
  61. <version>1.0.0</version>
  62. <!-- <scope>system</scope>-->
  63. <!-- <systemPath>${project.basedir}/lib/agelib.jar</systemPath>-->
  64. </dependency>
  65. <dependency>
  66. <groupId>org.projectlombok</groupId>
  67. <artifactId>lombok</artifactId>
  68. <version>1.18.38</version>
  69. <!-- <optional>true</optional>-->
  70. <scope>provided</scope>
  71. </dependency>
  72. <!-- https://mvnrepository.com/artifact/io.swagger/swagger-annotations -->
  73. <dependency>
  74. <groupId>io.swagger</groupId>
  75. <artifactId>swagger-annotations</artifactId>
  76. <version>1.6.9</version>
  77. </dependency>
  78. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  79. <dependency>
  80. <groupId>com.google.guava</groupId>
  81. <artifactId>guava</artifactId>
  82. <!-- <version>33.4.8-jre</version>-->
  83. <version>32.1.3-jre</version>
  84. </dependency>
  85. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  86. <dependency>
  87. <groupId>com.google.code.gson</groupId>
  88. <artifactId>gson</artifactId>
  89. <version>2.12.1</version>
  90. </dependency>
  91. <!-- https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine -->
  92. <dependency>
  93. <groupId>com.github.ben-manes.caffeine</groupId>
  94. <artifactId>caffeine</artifactId>
  95. <version>3.1.8</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.cnnlp.data.md</groupId>
  99. <artifactId>gtbook</artifactId>
  100. <version>1.0.0</version>
  101. <!-- <scope>compile</scope>-->
  102. <!-- <exclusions>-->
  103. <!-- <exclusion>-->
  104. <!-- <groupId>org.slf4j</groupId>-->
  105. <!-- <artifactId>slf4j-simple</artifactId>-->
  106. <!-- </exclusion>-->
  107. <!-- </exclusions>-->
  108. </dependency>
  109. <dependency>
  110. <groupId>com.giantan.gfs</groupId>
  111. <artifactId>gfs</artifactId>
  112. <version>1.0.0</version>
  113. <!-- <scope>compile</scope>-->
  114. <!-- <exclusions>-->
  115. <!-- <exclusion>-->
  116. <!-- <groupId>org.slf4j</groupId>-->
  117. <!-- <artifactId>slf4j-simple</artifactId>-->
  118. <!-- </exclusion>-->
  119. <!-- </exclusions>-->
  120. </dependency>
  121. <!-- <dependency>-->
  122. <!-- <groupId>com.giantan.ai.domain</groupId>-->
  123. <!-- <artifactId>kvs</artifactId>-->
  124. <!-- <version>1.0.0</version>-->
  125. <!-- &lt;!&ndash; <scope>compile</scope>&ndash;&gt;-->
  126. <!-- </dependency>-->
  127. <dependency>
  128. <groupId>com.giantan</groupId>
  129. <artifactId>oe</artifactId>
  130. <version>8.11.3.20</version>
  131. <!-- <version>8.1.210123</version>-->
  132. <!-- <scope>system</scope>-->
  133. <!-- <systemPath>${project.basedir}/lib/oe.jar</systemPath>-->
  134. </dependency>
  135. <dependency>
  136. <groupId>net.sf.trove4j</groupId>
  137. <artifactId>trove4j</artifactId>
  138. <version>2.1.0</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.caucho</groupId>
  142. <artifactId>hessian</artifactId>
  143. <version>4.0.63</version>
  144. </dependency>
  145. <!-- https://search.maven.org/artifact/com.github.f4b6a3/ulid-creator -->
  146. <dependency>
  147. <groupId>com.github.f4b6a3</groupId>
  148. <artifactId>ulid-creator</artifactId>
  149. <version>5.2.3</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.springframework.boot</groupId>
  153. <artifactId>spring-boot-starter-test</artifactId>
  154. <version>${spring.boot.version}</version>
  155. <scope>test</scope>
  156. </dependency>
  157. <!-- <dependency>-->
  158. <!-- <groupId>com.giantan.mds</groupId>-->
  159. <!-- <artifactId>gtbook</artifactId>-->
  160. <!-- <version>1.0.0</version>-->
  161. <!-- <scope>compile</scope>-->
  162. <!-- </dependency>-->
  163. </dependencies>
  164. <dependencyManagement>
  165. <dependencies>
  166. <dependency>
  167. <groupId>org.springframework.ai</groupId>
  168. <artifactId>spring-ai-bom</artifactId>
  169. <version>${spring-ai.version}</version>
  170. <type>pom</type>
  171. <scope>import</scope>
  172. </dependency>
  173. </dependencies>
  174. </dependencyManagement>
  175. <build>
  176. <plugins>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-compiler-plugin</artifactId>
  180. <configuration>
  181. <compilerArgs>
  182. <arg>-parameters</arg> <!-- ✅ 开启参数名保留 -->
  183. </compilerArgs>
  184. <annotationProcessorPaths>
  185. <path>
  186. <groupId>org.projectlombok</groupId>
  187. <artifactId>lombok</artifactId>
  188. <version>1.18.38</version>
  189. </path>
  190. </annotationProcessorPaths>
  191. </configuration>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.springframework.boot</groupId>
  195. <artifactId>spring-boot-maven-plugin</artifactId>
  196. <configuration>
  197. <excludes>
  198. <exclude>
  199. <groupId>org.projectlombok</groupId>
  200. <artifactId>lombok</artifactId>
  201. <!-- <version>1.18.38</version>-->
  202. </exclude>
  203. </excludes>
  204. </configuration>
  205. <executions>
  206. <execution>
  207. <goals>
  208. <goal>repackage</goal> <!-- 关键 -->
  209. </goals>
  210. </execution>
  211. </executions>
  212. </plugin>
  213. </plugins>
  214. </build>
  215. </project>