pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.zsjz</groupId>
  7. <artifactId>zsjz-ai</artifactId>
  8. <version>1.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <artifactId>ai-server</artifactId>
  12. <name>ai-server</name>
  13. <description>ai-server</description>
  14. <properties>
  15. <java.version>25</java.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <tomlj.version>1.1.1</tomlj.version>
  19. <guava.version>33.4.8-jre</guava.version>
  20. <druid.version>1.2.22</druid.version>
  21. <commons-collections.version>3.2.1</commons-collections.version>
  22. <commons-io.version>2.21.0</commons-io.version>
  23. <commonmark.version>0.17.0</commonmark.version>
  24. <commons-compress.version>1.28.0</commons-compress.version>
  25. <testcontainers.version>1.21.4</testcontainers.version>
  26. <agentscope.version>2.0.1</agentscope.version>
  27. <pgvector.version>0.1.6</pgvector.version>
  28. </properties>
  29. <dependencyManagement>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.springframework.ai</groupId>
  33. <artifactId>spring-ai-bom</artifactId>
  34. <version>1.1.8</version>
  35. <type>pom</type>
  36. <scope>import</scope>
  37. </dependency>
  38. </dependencies>
  39. </dependencyManagement>
  40. <dependencies>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-web</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-validation</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-data-redis</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-configuration-processor</artifactId>
  56. <optional>true</optional>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-aop</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.projectlombok</groupId>
  69. <artifactId>lombok</artifactId>
  70. <optional>true</optional>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.agentscope</groupId>
  74. <artifactId>agentscope-harness</artifactId>
  75. <version>${agentscope.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.agentscope</groupId>
  79. <artifactId>agentscope-extensions-model-dashscope</artifactId>
  80. <version>${agentscope.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.agentscope</groupId>
  84. <artifactId>agentscope-extensions-model-ollama</artifactId>
  85. <version>${agentscope.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.agentscope</groupId>
  89. <artifactId>agentscope-extensions-model-openai</artifactId>
  90. <version>${agentscope.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.agentscope</groupId>
  94. <artifactId>agentscope-extensions-mem0</artifactId>
  95. <version>${agentscope.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.agentscope</groupId>
  99. <artifactId>agentscope-extensions-rag-simple</artifactId>
  100. <version>${agentscope.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>io.agentscope</groupId>
  104. <artifactId>agentscope-extensions-redis</artifactId>
  105. <version>${agentscope.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework.ai</groupId>
  109. <artifactId>spring-ai-tika-document-reader</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.ai</groupId>
  113. <artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.ai</groupId>
  117. <artifactId>spring-ai-starter-mcp-server</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.postgresql</groupId>
  121. <artifactId>postgresql</artifactId>
  122. </dependency>
  123. <!-- pgvector Java SDK for PostgreSQL vector extension -->
  124. <dependency>
  125. <groupId>com.pgvector</groupId>
  126. <artifactId>pgvector</artifactId>
  127. <version>${pgvector.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.zaxxer</groupId>
  131. <artifactId>HikariCP</artifactId>
  132. </dependency>
  133. <!-- DuckDB JDBC 驱动(数据源模块连接测试) -->
  134. <dependency>
  135. <groupId>org.duckdb</groupId>
  136. <artifactId>duckdb_jdbc</artifactId>
  137. <version>1.5.5.1</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.baomidou</groupId>
  141. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  142. <version>3.5.17</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.baomidou</groupId>
  146. <artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
  147. <version>4.5.0</version>
  148. </dependency>
  149. <!-- <dependency>
  150. <groupId>com.alibaba</groupId>
  151. <artifactId>druid</artifactId>
  152. <version>${druid.version}</version>
  153. </dependency>-->
  154. <dependency>
  155. <groupId>com.baomidou</groupId>
  156. <artifactId>mybatis-plus-jsqlparser</artifactId>
  157. <version>3.5.17</version>
  158. </dependency>
  159. <!-- Sa-Token 权限认证,在线文档:https://sa-token.com -->
  160. <dependency>
  161. <groupId>cn.dev33</groupId>
  162. <artifactId>sa-token-spring-boot3-starter</artifactId>
  163. <version>1.46.0</version>
  164. </dependency>
  165. <!-- BCrypt 密码加密(仅用加密类,不引入 Security 自动配置) -->
  166. <dependency>
  167. <groupId>org.springframework.security</groupId>
  168. <artifactId>spring-security-crypto</artifactId>
  169. </dependency>
  170. <dependency>
  171. <groupId>cn.dev33</groupId>
  172. <artifactId>sa-token-redis-jackson</artifactId>
  173. <version>1.46.0</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>commons-collections</groupId>
  177. <artifactId>commons-collections</artifactId>
  178. <version>${commons-collections.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>commons-io</groupId>
  182. <artifactId>commons-io</artifactId>
  183. <version>${commons-io.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.commonmark</groupId>
  187. <artifactId>commonmark</artifactId>
  188. <version>${commonmark.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.apache.commons</groupId>
  192. <artifactId>commons-compress</artifactId>
  193. <version>${commons-compress.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.google.guava</groupId>
  197. <artifactId>guava</artifactId>
  198. <version>${guava.version}</version>
  199. </dependency>
  200. <!-- Source: https://mvnrepository.com/artifact/org.apache.fesod/fesod-sheet -->
  201. <dependency>
  202. <groupId>org.apache.fesod</groupId>
  203. <artifactId>fesod-sheet</artifactId>
  204. <version>2.0.2-incubating</version>
  205. <scope>compile</scope>
  206. </dependency>
  207. <!-- MapStruct 对象映射 -->
  208. <dependency>
  209. <groupId>org.mapstruct</groupId>
  210. <artifactId>mapstruct</artifactId>
  211. <version>1.6.3</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.github.albfernandez</groupId>
  215. <artifactId>juniversalchardet</artifactId>
  216. <version>2.5.0</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>cn.hutool</groupId>
  220. <artifactId>hutool-all</artifactId>
  221. <version>5.8.47</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>net.java.dev.jna</groupId>
  225. <artifactId>jna</artifactId>
  226. <version>5.18.1</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.yomahub</groupId>
  230. <artifactId>roguemap-core</artifactId>
  231. <version>1.1.7</version>
  232. </dependency>
  233. <!-- 全文检索(替代原嵌入式 Lucene 10.3.2):Elasticsearch 服务端版本须与
  234. Spring Boot 3.5 托管的客户端 8.18.x 匹配,单节点部署见 readme -->
  235. <dependency>
  236. <groupId>org.springframework.boot</groupId>
  237. <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
  238. </dependency>
  239. </dependencies>
  240. <build>
  241. <plugins>
  242. <plugin>
  243. <groupId>org.springframework.boot</groupId>
  244. <artifactId>spring-boot-maven-plugin</artifactId>
  245. </plugin>
  246. <plugin>
  247. <groupId>org.apache.maven.plugins</groupId>
  248. <artifactId>maven-compiler-plugin</artifactId>
  249. <executions>
  250. <execution>
  251. <id>default-compile</id>
  252. <phase>compile</phase>
  253. <goals>
  254. <goal>compile</goal>
  255. </goals>
  256. <configuration>
  257. <annotationProcessorPaths>
  258. <path>
  259. <groupId>org.projectlombok</groupId>
  260. <artifactId>lombok</artifactId>
  261. </path>
  262. <path>
  263. <groupId>org.springframework.boot</groupId>
  264. <artifactId>spring-boot-configuration-processor</artifactId>
  265. </path>
  266. <path>
  267. <groupId>org.mapstruct</groupId>
  268. <artifactId>mapstruct-processor</artifactId>
  269. <version>1.6.3</version>
  270. </path>
  271. </annotationProcessorPaths>
  272. </configuration>
  273. </execution>
  274. <execution>
  275. <id>default-testCompile</id>
  276. <phase>test-compile</phase>
  277. <goals>
  278. <goal>testCompile</goal>
  279. </goals>
  280. <configuration>
  281. <annotationProcessorPaths>
  282. <path>
  283. <groupId>org.projectlombok</groupId>
  284. <artifactId>lombok</artifactId>
  285. </path>
  286. <path>
  287. <groupId>org.mapstruct</groupId>
  288. <artifactId>mapstruct-processor</artifactId>
  289. <version>1.6.3</version>
  290. </path>
  291. </annotationProcessorPaths>
  292. </configuration>
  293. </execution>
  294. </executions>
  295. </plugin>
  296. </plugins>
  297. </build>
  298. </project>