pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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. <groupId>com.tuoren</groupId>
  7. <artifactId>nb-root</artifactId>
  8. <name>${project.artifactId}</name>
  9. <packaging>pom</packaging>
  10. <version>1.0</version>
  11. <properties>
  12. <nb.version>1.0</nb.version>
  13. <java.version>1.8</java.version>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <versions-maven-plugin.version>2.7</versions-maven-plugin.version>
  19. <skipTests>true</skipTests>
  20. <hutool.version>5.7.21</hutool.version>
  21. <pinyin.verison>2.5.1</pinyin.verison>
  22. <guava.version>30.1.1-jre</guava.version>
  23. <druid.version>1.2.8</druid.version>
  24. <spring-boot.version>2.5.8</spring-boot.version>
  25. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  26. <mybatis-plus-generator.version>3.4.1</mybatis-plus-generator.version>
  27. <mysql-connector.version>8.0.27</mysql-connector.version>
  28. <fastjson.version>1.2.79</fastjson.version>
  29. <easyexcel.version>3.0.5</easyexcel.version>
  30. <minio.version>8.3.7</minio.version>
  31. <okhttp.version>4.11.0</okhttp.version>
  32. <velocity.version>2.3</velocity.version>
  33. <log4j2.version>2.17.1</log4j2.version>
  34. <satoken.version>1.31.0</satoken.version>
  35. <springfox.version>3.0.0</springfox.version>
  36. <tio.version>3.6.0.v20200315-RELEASE</tio.version>
  37. <jython.version>2.7.1</jython.version>
  38. <knife4j.verison>4.0.0</knife4j.verison>
  39. <redisson.version>3.17.0</redisson.version>
  40. <captcha.version>1.6.2</captcha.version>
  41. <aliyun.iot.verison>7.31.0</aliyun.iot.verison>
  42. <aliyun.sdk.verison>4.5.6</aliyun.sdk.verison>
  43. <jms.verison>0.56.0</jms.verison>
  44. <aliyun.sms.version>2.0.16</aliyun.sms.version>
  45. <aliyun.oss.version>3.15.0</aliyun.oss.version>
  46. <poi.tl.verison>1.12.0</poi.tl.verison>
  47. <poi.version>5.2.2</poi.version>
  48. <langchain4j.version>0.35.0</langchain4j.version>
  49. </properties>
  50. <modules>
  51. <module>nb-admin</module>
  52. <module>nb-common</module>
  53. <module>nb-oss</module>
  54. <module>nb-auth</module>
  55. <module>nb-core</module>
  56. <module>nb-service-api</module>
  57. <module>nb-service</module>
  58. <module>nb-im</module>
  59. </modules>
  60. <dependencies>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-test</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-actuator</artifactId>
  69. </dependency>
  70. </dependencies>
  71. <!-- 依赖管理 -->
  72. <dependencyManagement>
  73. <dependencies>
  74. <dependency>
  75. <groupId>com.deepoove</groupId>
  76. <artifactId>poi-tl</artifactId>
  77. <version>${poi.tl.verison}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.aliyun.oss</groupId>
  81. <artifactId>aliyun-sdk-oss</artifactId>
  82. <version>${aliyun.oss.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.aliyun</groupId>
  86. <artifactId>dysmsapi20170525</artifactId>
  87. <version>${aliyun.sms.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.tuoren</groupId>
  91. <artifactId>nb-im</artifactId>
  92. <version>${nb.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.tuoren</groupId>
  96. <artifactId>app-msg-api</artifactId>
  97. <version>${nb.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.tuoren</groupId>
  101. <artifactId>app-msg</artifactId>
  102. <version>${nb.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.tuoren</groupId>
  106. <artifactId>app-assistant-api</artifactId>
  107. <version>${nb.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.tuoren</groupId>
  111. <artifactId>app-assistant</artifactId>
  112. <version>${nb.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.tuoren</groupId>
  116. <artifactId>app-doctor-api</artifactId>
  117. <version>${nb.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.tuoren</groupId>
  121. <artifactId>app-doctor</artifactId>
  122. <version>${nb.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.tuoren</groupId>
  126. <artifactId>ws-common</artifactId>
  127. <version>${nb.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.tuoren</groupId>
  131. <artifactId>doc-common</artifactId>
  132. <version>${nb.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.tuoren</groupId>
  136. <artifactId>banner-common</artifactId>
  137. <version>${nb.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.tuoren</groupId>
  141. <artifactId>config-common</artifactId>
  142. <version>${nb.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.tuoren</groupId>
  146. <artifactId>crud-common</artifactId>
  147. <version>${nb.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.tuoren</groupId>
  151. <artifactId>delay-queue-common</artifactId>
  152. <version>${nb.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.tuoren</groupId>
  156. <artifactId>log-common</artifactId>
  157. <version>${nb.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.tuoren</groupId>
  161. <artifactId>nb-core</artifactId>
  162. <version>${nb.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.tuoren</groupId>
  166. <artifactId>nb-auth</artifactId>
  167. <version>${nb.version}</version>
  168. </dependency>
  169. <!-- https://mvnrepository.com/artifact/org.python/jython-standalone -->
  170. <dependency>
  171. <groupId>org.python</groupId>
  172. <artifactId>jython-standalone</artifactId>
  173. <version>${jython.version}</version>
  174. </dependency>
  175. <!-- spring boot -->
  176. <dependency>
  177. <groupId>org.springframework.boot</groupId>
  178. <artifactId>spring-boot-dependencies</artifactId>
  179. <version>${spring-boot.version}</version>
  180. <type>pom</type>
  181. <scope>import</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.t-io</groupId>
  185. <artifactId>tio-websocket-spring-boot-starter</artifactId>
  186. <version>${tio.version}</version>
  187. </dependency>
  188. <!--swagger模块 -->
  189. <dependency>
  190. <groupId>com.github.xiaoymin</groupId>
  191. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  192. <version>${knife4j.verison}</version>
  193. </dependency>
  194. <!--阿里数据库连接池 -->
  195. <dependency>
  196. <groupId>com.alibaba</groupId>
  197. <artifactId>druid-spring-boot-starter</artifactId>
  198. <version>${druid.version}</version>
  199. </dependency>
  200. <!-- web 模块 -->
  201. <dependency>
  202. <groupId>org.springframework.boot</groupId>
  203. <artifactId>spring-boot-starter-web</artifactId>
  204. <version>${spring-boot.version}</version>
  205. </dependency>
  206. <!-- mybatis plus -->
  207. <dependency>
  208. <groupId>com.baomidou</groupId>
  209. <artifactId>mybatis-plus-boot-starter</artifactId>
  210. <version>${mybatis-plus.version}</version>
  211. </dependency>
  212. <!-- mybatis plus generator -->
  213. <dependency>
  214. <groupId>com.baomidou</groupId>
  215. <artifactId>mybatis-plus-generator</artifactId>
  216. <version>${mybatis-plus-generator.version}</version>
  217. </dependency>
  218. <!-- MySQL -->
  219. <dependency>
  220. <groupId>mysql</groupId>
  221. <artifactId>mysql-connector-java</artifactId>
  222. <version>${mysql-connector.version}</version>
  223. </dependency>
  224. <!-- hutool -->
  225. <dependency>
  226. <groupId>cn.hutool</groupId>
  227. <artifactId>hutool-all</artifactId>
  228. <version>${hutool.version}</version>
  229. </dependency>
  230. <!-- guava -->
  231. <dependency>
  232. <groupId>com.google.guava</groupId>
  233. <artifactId>guava</artifactId>
  234. <version>${guava.version}</version>
  235. </dependency>
  236. <!-- fastjson -->
  237. <dependency>
  238. <groupId>com.alibaba</groupId>
  239. <artifactId>fastjson</artifactId>
  240. <version>${fastjson.version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.apache.poi</groupId>
  244. <artifactId>poi-ooxml</artifactId>
  245. <version>${poi.version}</version>
  246. </dependency>
  247. <!-- easyexcel -->
  248. <dependency>
  249. <groupId>com.alibaba</groupId>
  250. <artifactId>easyexcel</artifactId>
  251. <version>${easyexcel.version}</version>
  252. </dependency>
  253. <!-- velocity -->
  254. <dependency>
  255. <groupId>org.apache.velocity</groupId>
  256. <artifactId>velocity-engine-core</artifactId>
  257. <version>${velocity.version}</version>
  258. </dependency>
  259. <!-- minio -->
  260. <dependency>
  261. <groupId>io.minio</groupId>
  262. <artifactId>minio</artifactId>
  263. <version>${minio.version}</version>
  264. </dependency>
  265. <!-- okhttp -->
  266. <dependency>
  267. <groupId>com.squareup.okhttp3</groupId>
  268. <artifactId>okhttp</artifactId>
  269. <version>${okhttp.version}</version>
  270. </dependency>
  271. <!-- 添加 OkHttp BOM 强制统一版本 -->
  272. <dependency>
  273. <groupId>com.squareup.okhttp3</groupId>
  274. <artifactId>okhttp-bom</artifactId>
  275. <version>${okhttp.version}</version>
  276. <type>pom</type>
  277. <scope>import</scope>
  278. </dependency>
  279. <!-- 显式声明其他 OkHttp 组件 -->
  280. <dependency>
  281. <groupId>com.squareup.okhttp3</groupId>
  282. <artifactId>logging-interceptor</artifactId>
  283. <version>${okhttp.version}</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>com.squareup.okhttp3</groupId>
  287. <artifactId>okhttp-sse</artifactId>
  288. <version>${okhttp.version}</version>
  289. </dependency>
  290. <!-- log4j -->
  291. <dependency>
  292. <groupId>org.apache.logging.log4j</groupId>
  293. <artifactId>log4j-api</artifactId>
  294. <version>${log4j2.version}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.apache.logging.log4j</groupId>
  298. <artifactId>log4j-to-slf4j</artifactId>
  299. <version>${log4j2.version}</version>
  300. </dependency>
  301. <!-- sa-token -->
  302. <dependency>
  303. <groupId>cn.dev33</groupId>
  304. <artifactId>sa-token-spring-boot-starter</artifactId>
  305. <version>${satoken.version}</version>
  306. </dependency>
  307. <!-- sa-token redis -->
  308. <dependency>
  309. <groupId>cn.dev33</groupId>
  310. <artifactId>sa-token-dao-redis-jackson</artifactId>
  311. <version>${satoken.version}</version>
  312. </dependency>
  313. <!-- 核心模块 -->
  314. <!-- 通用模块 -->
  315. <!-- 系统模块 -->
  316. <dependency>
  317. <groupId>com.tuoren</groupId>
  318. <artifactId>iot-service-api</artifactId>
  319. <version>${nb.version}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>com.tuoren</groupId>
  323. <artifactId>iot-service</artifactId>
  324. <version>${nb.version}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>com.tuoren</groupId>
  328. <artifactId>web-service-api</artifactId>
  329. <version>${nb.version}</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>com.tuoren</groupId>
  333. <artifactId>web-service</artifactId>
  334. <version>${nb.version}</version>
  335. </dependency>
  336. <!-- OSS文件存储模块 -->
  337. <dependency>
  338. <groupId>com.tuoren</groupId>
  339. <artifactId>nb-oss</artifactId>
  340. <version>${nb.version}</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>org.jboss.marshalling</groupId>
  344. <artifactId>jboss-marshalling</artifactId>
  345. <version>2.0.9.Final</version>
  346. </dependency>
  347. <!-- redisson配置 -->
  348. <dependency>
  349. <groupId>org.redisson</groupId>
  350. <artifactId>redisson-spring-boot-starter</artifactId>
  351. <version>${redisson.version}</version>
  352. <exclusions>
  353. <exclusion>
  354. <groupId>org.springframework.boot</groupId>
  355. <artifactId>spring-boot-starter-web</artifactId>
  356. </exclusion>
  357. </exclusions>
  358. </dependency>
  359. <!--验证码配置-->
  360. <dependency>
  361. <groupId>com.github.whvcse</groupId>
  362. <artifactId>easy-captcha</artifactId>
  363. <version>${captcha.version}</version>
  364. </dependency>
  365. <!--阿里云物联网sdk-->
  366. <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-iot -->
  367. <dependency>
  368. <groupId>com.aliyun</groupId>
  369. <artifactId>aliyun-java-sdk-iot</artifactId>
  370. <version>${aliyun.iot.verison}</version>
  371. </dependency>
  372. <dependency>
  373. <groupId>com.aliyun</groupId>
  374. <artifactId>aliyun-java-sdk-core</artifactId>
  375. <version>${aliyun.sdk.verison}</version>
  376. </dependency>
  377. <!-- amqp 1.0 qpid client -->
  378. <dependency>
  379. <groupId>org.apache.qpid</groupId>
  380. <artifactId>qpid-jms-client</artifactId>
  381. <version>${jms.verison}</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>com.belerweb</groupId>
  385. <artifactId>pinyin4j</artifactId>
  386. <version>${pinyin.verison}</version>
  387. </dependency>
  388. <!-- LangChain4j 核心依赖 -->
  389. <dependency>
  390. <groupId>dev.langchain4j</groupId>
  391. <artifactId>langchain4j-core</artifactId>
  392. <version>${langchain4j.version}</version>
  393. </dependency>
  394. <!-- 以集成 OpenAI 为例 -->
  395. <dependency>
  396. <groupId>dev.langchain4j</groupId>
  397. <artifactId>langchain4j-open-ai</artifactId>
  398. <version>${langchain4j.version}</version>
  399. </dependency>
  400. <dependency>
  401. <groupId>dev.langchain4j</groupId>
  402. <artifactId>langchain4j-reactor</artifactId>
  403. <version>${langchain4j.version}</version>
  404. </dependency>
  405. <dependency>
  406. <groupId>dev.langchain4j</groupId>
  407. <artifactId>langchain4j-spring-boot-starter</artifactId>
  408. <version>${langchain4j.version}</version>
  409. </dependency>
  410. </dependencies>
  411. </dependencyManagement>
  412. </project>