pom.xml 12 KB

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