pom.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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>2.0.0</version>
  12. <artifactId>mdserver</artifactId>
  13. <properties>
  14. <maven.compiler.source>17</maven.compiler.source>
  15. <maven.compiler.target>17</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.github.ben-manes.caffeine/caffeine -->
  86. <dependency>
  87. <groupId>com.github.ben-manes.caffeine</groupId>
  88. <artifactId>caffeine</artifactId>
  89. <version>3.1.8</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.cnnlp.data.md</groupId>
  93. <artifactId>gtbook</artifactId>
  94. <version>1.0.0</version>
  95. <!-- <scope>compile</scope>-->
  96. <!-- <exclusions>-->
  97. <!-- <exclusion>-->
  98. <!-- <groupId>org.slf4j</groupId>-->
  99. <!-- <artifactId>slf4j-simple</artifactId>-->
  100. <!-- </exclusion>-->
  101. <!-- </exclusions>-->
  102. </dependency>
  103. <dependency>
  104. <groupId>com.giantan.gfs</groupId>
  105. <artifactId>gfs</artifactId>
  106. <version>1.0.0</version>
  107. <!-- <scope>compile</scope>-->
  108. <!-- <exclusions>-->
  109. <!-- <exclusion>-->
  110. <!-- <groupId>org.slf4j</groupId>-->
  111. <!-- <artifactId>slf4j-simple</artifactId>-->
  112. <!-- </exclusion>-->
  113. <!-- </exclusions>-->
  114. </dependency>
  115. <dependency>
  116. <groupId>com.giantan.mds</groupId>
  117. <artifactId>tools</artifactId>
  118. <version>1.0.0</version>
  119. </dependency>
  120. <!-- <dependency>-->
  121. <!-- <groupId>com.giantan.ai.domain</groupId>-->
  122. <!-- <artifactId>kvs</artifactId>-->
  123. <!-- <version>1.0.0</version>-->
  124. <!-- &lt;!&ndash; <scope>compile</scope>&ndash;&gt;-->
  125. <!-- </dependency>-->
  126. <dependency>
  127. <groupId>com.giantan</groupId>
  128. <artifactId>oe</artifactId>
  129. <version>8.11.3.20</version>
  130. <!-- <version>8.1.210123</version>-->
  131. <!-- <scope>system</scope>-->
  132. <!-- <systemPath>${project.basedir}/lib/oe.jar</systemPath>-->
  133. </dependency>
  134. <dependency>
  135. <groupId>net.sf.trove4j</groupId>
  136. <artifactId>trove4j</artifactId>
  137. <version>2.1.0</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.caucho</groupId>
  141. <artifactId>hessian</artifactId>
  142. <version>4.0.63</version>
  143. </dependency>
  144. <!-- https://search.maven.org/artifact/com.github.f4b6a3/ulid-creator -->
  145. <dependency>
  146. <groupId>com.github.f4b6a3</groupId>
  147. <artifactId>ulid-creator</artifactId>
  148. <version>5.2.3</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-starter-test</artifactId>
  153. <version>${spring.boot.version}</version>
  154. <scope>test</scope>
  155. </dependency>
  156. <!-- <dependency>-->
  157. <!-- <groupId>com.giantan.mds</groupId>-->
  158. <!-- <artifactId>gtbook</artifactId>-->
  159. <!-- <version>1.0.0</version>-->
  160. <!-- <scope>compile</scope>-->
  161. <!-- </dependency>-->
  162. </dependencies>
  163. <dependencyManagement>
  164. <dependencies>
  165. <dependency>
  166. <groupId>org.springframework.ai</groupId>
  167. <artifactId>spring-ai-bom</artifactId>
  168. <version>${spring-ai.version}</version>
  169. <type>pom</type>
  170. <scope>import</scope>
  171. </dependency>
  172. </dependencies>
  173. </dependencyManagement>
  174. <build>
  175. <plugins>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-compiler-plugin</artifactId>
  179. <configuration>
  180. <compilerArgs>
  181. <arg>-parameters</arg> <!-- ✅ 开启参数名保留 -->
  182. </compilerArgs>
  183. <annotationProcessorPaths>
  184. <path>
  185. <groupId>org.projectlombok</groupId>
  186. <artifactId>lombok</artifactId>
  187. <version>1.18.38</version>
  188. </path>
  189. </annotationProcessorPaths>
  190. </configuration>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-maven-plugin</artifactId>
  195. <configuration>
  196. <excludes>
  197. <exclude>
  198. <groupId>org.projectlombok</groupId>
  199. <artifactId>lombok</artifactId>
  200. <!-- <version>1.18.38</version>-->
  201. </exclude>
  202. </excludes>
  203. </configuration>
  204. <executions>
  205. <execution>
  206. <goals>
  207. <goal>repackage</goal> <!-- 关键 -->
  208. </goals>
  209. </execution>
  210. </executions>
  211. </plugin>
  212. </plugins>
  213. </build>
  214. </project>