物管理后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

783 lines
32 KiB

  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>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>3.3.2</version>
  10. </parent>
  11. <groupId>com.thing</groupId>
  12. <artifactId>thingbi</artifactId>
  13. <version>5.1</version>
  14. <packaging>pom</packaging>
  15. <modules>
  16. <module>application</module>
  17. <module>common</module>
  18. <module>modules</module>
  19. <module>tools</module>
  20. </modules>
  21. <name>ThingBI</name>
  22. <properties>
  23. <main.dir>${basedir}</main.dir>
  24. <thingbi.version>5.1</thingbi.version>
  25. <java.version>17</java.version>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  28. <spring-boot.version>3.3.2</spring-boot.version>
  29. <spring-retry.version>2.0.2</spring-retry.version>
  30. <servlet-api.version>6.0.0</servlet-api.version>
  31. <shiro.version>1.13.0</shiro.version>
  32. <knife4j.version>4.3.0</knife4j.version>
  33. <fastjson.version>2.0.42</fastjson.version>
  34. <snakeyaml.version>2.2</snakeyaml.version>
  35. <commons.io.version>2.15.0</commons.io.version>
  36. <commons.beanutils.version>1.9.4</commons.beanutils.version>
  37. <easypoi.version>4.1.0</easypoi.version>
  38. <jakarta.validation.version>3.0.2</jakarta.validation.version>
  39. <mybatis-flex.version>1.9.5</mybatis-flex.version>
  40. <clickhouse.version>0.5.0</clickhouse.version>
  41. <postgresql.driver.version>42.6.0</postgresql.driver.version>
  42. <mysql.version>8.2.0</mysql.version>
  43. <HikariCP.version>5.0.1</HikariCP.version>
  44. <mybatis-spring.version>3.0.3</mybatis-spring.version>
  45. <lombok.version>1.18.30</lombok.version>
  46. <slf4j.version>2.0.9</slf4j.version>
  47. <hutool.version>5.7.14</hutool.version>
  48. <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
  49. <mqtt-client.version>1.2.5</mqtt-client.version>
  50. <annotation.version>1.3.2</annotation.version>
  51. <gson.version>2.10.1</gson.version>
  52. <joda-time.version>2.12.5</joda-time.version>
  53. <jackson-databind.version>2.15.3</jackson-databind.version>
  54. <version>3.4.4</version>
  55. <disruptor.version>3.4.4</disruptor.version>
  56. <jackson-annotations.version>2.15.3</jackson-annotations.version>
  57. <guava.version>32.1.3-jre</guava.version>
  58. <protobuf.version>3.21.9</protobuf.version>
  59. <grpc.version>1.22.1</grpc.version>
  60. <aviator.version>5.4.1</aviator.version>
  61. <caffeine.version>3.1.8</caffeine.version>
  62. <os-maven-plugin.version>1.7.1</os-maven-plugin.version>
  63. <aliyun.oss.version>3.17.3</aliyun.oss.version>
  64. <minio.version>8.4.3</minio.version>
  65. <fastdfs.version>1.27.2</fastdfs.version>
  66. <jsoup.version>1.16.2</jsoup.version>
  67. <delight-nashorn-sandbox.version>0.4.2</delight-nashorn-sandbox.version>
  68. <tbel.version>1.0.5</tbel.version>
  69. <guava.retry.version>2.0.0</guava.retry.version>
  70. <thingsboard.version>3.2.2-SNAPSHOT</thingsboard.version>
  71. <bucket4j.version>4.1.1</bucket4j.version>
  72. <websocket.version>1.5.0</websocket.version>
  73. <guava.retry.version>2.0.0</guava.retry.version>
  74. <modbus4j.version>3.0.3</modbus4j.version>
  75. <httpclient5.version>5.3</httpclient5.version>
  76. <quartz.version>2.3.2</quartz.version>
  77. <easyexcel.version>3.2.1</easyexcel.version>
  78. <bcprov.version>1.78.1</bcprov.version>
  79. <!-- 模板引擎 -->
  80. <freemarker.version>2.3.31</freemarker.version>
  81. <!-- message -->
  82. <qcloud.qcloudsms.version>1.0.5</qcloud.qcloudsms.version>
  83. <aliyun.dysmsapi.version>1.1.0</aliyun.dysmsapi.version>
  84. <jakarta.mail.version>2.0.1</jakarta.mail.version>
  85. <jmockdata.version>4.3.0</jmockdata.version>
  86. <!-- 插件版本 -->
  87. <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
  88. <maven-compiler-plugin.verison>3.11.0</maven-compiler-plugin.verison>
  89. <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
  90. <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
  91. <mapstruct-plus.lombok.version>0.2.0</mapstruct-plus.lombok.version>
  92. <maven-install-plugin.version>3.1.1</maven-install-plugin.version>
  93. <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
  94. <maven-source-plugin.version>3.3.0</maven-source-plugin.version>
  95. <maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
  96. <exec-maven-plugin.version>3.1.1</exec-maven-plugin.version>
  97. </properties>
  98. <dependencyManagement>
  99. <dependencies>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-dependencies</artifactId>
  103. <version>${spring-boot.version}</version>
  104. <type>pom</type>
  105. <scope>import</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-web</artifactId>
  110. <version>${spring-boot.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-aop</artifactId>
  115. <version>${spring-boot.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>cn.hutool</groupId>
  119. <artifactId>hutool-all</artifactId>
  120. <version>${hutool.version}</version>
  121. </dependency>
  122. <!-- hutool 的依赖配置-->
  123. <dependency>
  124. <groupId>cn.hutool</groupId>
  125. <artifactId>hutool-bom</artifactId>
  126. <version>${hutool.version}</version>
  127. <type>pom</type>
  128. <scope>import</scope>
  129. </dependency>
  130. <!-- servlet包 -->
  131. <dependency>
  132. <groupId>jakarta.servlet</groupId>
  133. <artifactId>jakarta.servlet-api</artifactId>
  134. <version>${servlet-api.version}</version>
  135. </dependency>
  136. <!-- 数据库连接池-->
  137. <dependency>
  138. <groupId>com.zaxxer</groupId>
  139. <artifactId>HikariCP</artifactId>
  140. <version>${HikariCP.version}</version>
  141. </dependency>
  142. <!-- mybatis-spring 依赖-->
  143. <dependency>
  144. <groupId>org.mybatis</groupId>
  145. <artifactId>mybatis-spring</artifactId>
  146. <version>${mybatis-spring.version}</version>
  147. </dependency>
  148. <!-- mybatis-flex -->
  149. <dependency>
  150. <groupId>com.mybatis-flex</groupId>
  151. <artifactId>mybatis-flex-spring-boot-starter</artifactId>
  152. <version>${mybatis-flex.version}</version>
  153. <exclusions>
  154. <exclusion>
  155. <groupId>org.mybatis</groupId>
  156. <artifactId>mybatis-spring</artifactId>
  157. </exclusion>
  158. </exclusions>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.mybatis-flex</groupId>
  162. <artifactId>mybatis-flex-processor</artifactId>
  163. <version>${mybatis-flex.version}</version>
  164. <scope>provided</scope>
  165. </dependency>
  166. <!-- Postgresql驱动包 -->
  167. <dependency>
  168. <groupId>org.postgresql</groupId>
  169. <artifactId>postgresql</artifactId>
  170. <version>${postgresql.driver.version}</version>
  171. </dependency>
  172. <!--clickhouse驱动-->
  173. <dependency>
  174. <groupId>com.clickhouse</groupId>
  175. <artifactId>clickhouse-jdbc</artifactId>
  176. <version>${clickhouse.version}</version>
  177. <classifier>all</classifier>
  178. </dependency>
  179. <!-- Mysql驱动包 -->
  180. <dependency>
  181. <groupId>com.mysql</groupId>
  182. <artifactId>mysql-connector-j</artifactId>
  183. <version>${mysql.version}</version>
  184. </dependency>
  185. <!-- sqlserver驱动包 -->
  186. <dependency>
  187. <groupId>com.microsoft.sqlserver</groupId>
  188. <artifactId>mssql-jdbc</artifactId>
  189. <version>9.2.0.jre8</version>
  190. </dependency>
  191. <!--日志-->
  192. <dependency>
  193. <groupId>org.slf4j</groupId>
  194. <artifactId>slf4j-api</artifactId>
  195. <version>${slf4j.version}</version>
  196. </dependency>
  197. <!--时间格式化-->
  198. <dependency>
  199. <groupId>joda-time</groupId>
  200. <artifactId>joda-time</artifactId>
  201. <version>${joda-time.version}</version>
  202. </dependency>
  203. <!--MQTT 客户端-->
  204. <dependency>
  205. <groupId>org.eclipse.paho</groupId>
  206. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  207. <version>${mqtt-client.version}</version>
  208. </dependency>
  209. <!-- 计算解析引擎-->
  210. <dependency>
  211. <groupId>com.googlecode.aviator</groupId>
  212. <artifactId>aviator</artifactId>
  213. <version>${aviator.version}</version>
  214. </dependency>
  215. <!-- caffeine缓存-->
  216. <dependency>
  217. <groupId>com.github.ben-manes.caffeine</groupId>
  218. <artifactId>caffeine</artifactId>
  219. <version>${caffeine.version}</version>
  220. </dependency>
  221. <!-- lombok-->
  222. <dependency>
  223. <groupId>org.projectlombok</groupId>
  224. <artifactId>lombok</artifactId>
  225. <version>${lombok.version}</version>
  226. <optional>true</optional>
  227. </dependency>
  228. <!-- protobuf -->
  229. <dependency>
  230. <groupId>com.google.protobuf</groupId>
  231. <artifactId>protobuf-java</artifactId>
  232. <version>${protobuf.version}</version>
  233. </dependency>
  234. <!-- protobuf 工具-->
  235. <dependency>
  236. <groupId>com.google.protobuf</groupId>
  237. <artifactId>protobuf-java-util</artifactId>
  238. <version>${protobuf.version}</version>
  239. </dependency>
  240. <!-- Google 提供的高效工具库-->
  241. <dependency>
  242. <groupId>com.google.guava</groupId>
  243. <artifactId>guava</artifactId>
  244. <version>${guava.version}</version>
  245. </dependency>
  246. <!-- 队列缓存 -->
  247. <dependency>
  248. <groupId>com.lmax</groupId>
  249. <artifactId>disruptor</artifactId>
  250. <version>${disruptor.version}</version>
  251. </dependency>
  252. <!--注解工具类-->
  253. <dependency>
  254. <groupId>javax.annotation</groupId>
  255. <artifactId>javax.annotation-api</artifactId>
  256. <version>${annotation.version}</version>
  257. </dependency>
  258. <!-- Json工具包-->
  259. <dependency>
  260. <groupId>com.google.code.gson</groupId>
  261. <artifactId>gson</artifactId>
  262. <version>${gson.version}</version>
  263. </dependency>
  264. <!-- Json序列化工具-->
  265. <dependency>
  266. <groupId>com.fasterxml.jackson.core</groupId>
  267. <artifactId>jackson-databind</artifactId>
  268. <version>${jackson-databind.version}</version>
  269. </dependency>
  270. <!-- Json序列化工具-->
  271. <dependency>
  272. <groupId>com.fasterxml.jackson.core</groupId>
  273. <artifactId>jackson-annotations</artifactId>
  274. <version>${jackson-annotations.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.alibaba</groupId>
  278. <artifactId>fastjson</artifactId>
  279. <version>${fastjson.version}</version>
  280. </dependency>
  281. <!-- yml 解析工具-->
  282. <dependency>
  283. <groupId>org.yaml</groupId>
  284. <artifactId>snakeyaml</artifactId>
  285. <version>2.2</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>commons-io</groupId>
  289. <artifactId>commons-io</artifactId>
  290. <version>${commons.io.version}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>commons-beanutils</groupId>
  294. <artifactId>commons-beanutils</artifactId>
  295. <version>${commons.beanutils.version}</version>
  296. </dependency>
  297. <!-- 校验工具 -->
  298. <dependency>
  299. <groupId>jakarta.validation</groupId>
  300. <artifactId>jakarta.validation-api</artifactId>
  301. <version>${jakarta.validation.version}</version>
  302. </dependency>
  303. <!-- easy poi -->
  304. <dependency>
  305. <groupId>cn.afterturn</groupId>
  306. <artifactId>easypoi-base</artifactId>
  307. <version>${easypoi.version}</version>
  308. <exclusions>
  309. <exclusion>
  310. <groupId>com.google.guava</groupId>
  311. <artifactId>guava</artifactId>
  312. </exclusion>
  313. <exclusion>
  314. <groupId>org.apache.commons</groupId>
  315. <artifactId>commons-lang3</artifactId>
  316. </exclusion>
  317. <exclusion>
  318. <groupId>commons-codec</groupId>
  319. <artifactId>commons-codec</artifactId>
  320. </exclusion>
  321. <exclusion>
  322. <groupId>org.javassist</groupId>
  323. <artifactId>javassist</artifactId>
  324. </exclusion>
  325. </exclusions>
  326. </dependency>
  327. <dependency>
  328. <groupId>cn.afterturn</groupId>
  329. <artifactId>easypoi-web</artifactId>
  330. <version>${easypoi.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>cn.afterturn</groupId>
  334. <artifactId>easypoi-annotation</artifactId>
  335. <version>${easypoi.version}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>com.github.tobato</groupId>
  339. <artifactId>fastdfs-client</artifactId>
  340. <version>${fastdfs.version}</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>com.aliyun.oss</groupId>
  344. <artifactId>aliyun-sdk-oss</artifactId>
  345. <version>${aliyun.oss.version}</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>io.minio</groupId>
  349. <artifactId>minio</artifactId>
  350. <version>${minio.version}</version>
  351. </dependency>
  352. <!-- jsoup -->
  353. <dependency>
  354. <groupId>org.jsoup</groupId>
  355. <artifactId>jsoup</artifactId>
  356. <version>${jsoup.version}</version>
  357. </dependency>
  358. <dependency>
  359. <groupId>org.javadelight</groupId>
  360. <artifactId>delight-nashorn-sandbox</artifactId>
  361. <version>${delight-nashorn-sandbox.version}</version>
  362. </dependency>
  363. <dependency>
  364. <groupId>org.thingsboard</groupId>
  365. <artifactId>tbel</artifactId>
  366. <version>${tbel.version}</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>com.github.rholder</groupId>
  370. <artifactId>guava-retrying</artifactId>
  371. <version>${guava.retry.version}</version>
  372. <exclusions>
  373. <exclusion>
  374. <groupId>com.google.guava</groupId>
  375. <artifactId>guava</artifactId>
  376. </exclusion>
  377. <exclusion>
  378. <groupId>com.google.code.findbugs</groupId>
  379. <artifactId>jsr305</artifactId>
  380. </exclusion>
  381. </exclusions>
  382. </dependency>
  383. <!-- thingsboard jar -->
  384. <dependency>
  385. <groupId>org.thingsboard.common</groupId>
  386. <artifactId>util</artifactId>
  387. <version>${thingsboard.version}</version>
  388. </dependency>
  389. <dependency>
  390. <groupId>org.thingsboard.common</groupId>
  391. <artifactId>data</artifactId>
  392. <version>${thingsboard.version}</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>io.jsonwebtoken</groupId>
  396. <artifactId>jjwt</artifactId>
  397. <version>0.9.1</version>
  398. </dependency>
  399. <dependency>
  400. <groupId>com.github.vladimir-bukhtoyarov</groupId>
  401. <artifactId>bucket4j-core</artifactId>
  402. <version>${bucket4j.version}</version>
  403. </dependency>
  404. <!--retry-->
  405. <dependency>
  406. <groupId>org.springframework.retry</groupId>
  407. <artifactId>spring-retry</artifactId>
  408. <version>${spring-retry.version}</version>
  409. </dependency>
  410. <dependency>
  411. <groupId>org.java-websocket</groupId>
  412. <artifactId>Java-WebSocket</artifactId>
  413. <version>${websocket.version}</version>
  414. </dependency>
  415. <dependency>
  416. <groupId>com.infiniteautomation</groupId>
  417. <artifactId>modbus4j</artifactId>
  418. <version>${modbus4j.version}</version>
  419. </dependency>
  420. <dependency>
  421. <groupId>org.apache.httpcomponents.client5</groupId>
  422. <artifactId>httpclient5</artifactId>
  423. <version>${httpclient5.version}</version>
  424. </dependency>
  425. <dependency>
  426. <groupId>org.quartz-scheduler</groupId>
  427. <artifactId>quartz</artifactId>
  428. <version>${quartz.version}</version>
  429. </dependency>
  430. <dependency>
  431. <groupId>com.alibaba</groupId>
  432. <artifactId>easyexcel</artifactId>
  433. <version>${easyexcel.version}</version>
  434. </dependency>
  435. <dependency>
  436. <groupId>org.bouncycastle</groupId>
  437. <artifactId>bcprov-jdk18on</artifactId>
  438. <version>${bcprov.version}</version>
  439. </dependency>
  440. <!-- 模板引擎 -->
  441. <dependency>
  442. <groupId>org.freemarker</groupId>
  443. <artifactId>freemarker</artifactId>
  444. <version>${freemarker.version}</version>
  445. </dependency>
  446. <!-- message -->
  447. <dependency>
  448. <groupId>com.aliyun</groupId>
  449. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  450. <version>${aliyun.dysmsapi.version}</version>
  451. </dependency>
  452. <dependency>
  453. <groupId>com.github.qcloudsms</groupId>
  454. <artifactId>qcloudsms</artifactId>
  455. <version>${qcloud.qcloudsms.version}</version>
  456. </dependency>
  457. <dependency>
  458. <groupId>com.sun.mail</groupId>
  459. <artifactId>jakarta.mail</artifactId>
  460. <version>${jakarta.mail.version}</version>
  461. </dependency>
  462. <!-- mock数据 -->
  463. <dependency>
  464. <groupId>com.github.jsonzou</groupId>
  465. <artifactId>jmockdata</artifactId>
  466. <version>${jmockdata.version}</version>
  467. </dependency>
  468. <!-- =================================== 内部依赖: common模块 ======================================= -->
  469. <dependency>
  470. <groupId>com.thing.common</groupId>
  471. <artifactId>actor</artifactId>
  472. <version>${project.version}</version>
  473. </dependency>
  474. <dependency>
  475. <groupId>com.thing.common</groupId>
  476. <artifactId>cache</artifactId>
  477. <version>${project.version}</version>
  478. </dependency>
  479. <dependency>
  480. <groupId>com.thing.common</groupId>
  481. <artifactId>core</artifactId>
  482. <version>${project.version}</version>
  483. </dependency>
  484. <dependency>
  485. <groupId>com.thing.common</groupId>
  486. <artifactId>data</artifactId>
  487. <version>${project.version}</version>
  488. </dependency>
  489. <dependency>
  490. <groupId>com.thing.common</groupId>
  491. <artifactId>orm</artifactId>
  492. <version>${project.version}</version>
  493. </dependency>
  494. <dependency>
  495. <groupId>com.thing.common</groupId>
  496. <artifactId>queue</artifactId>
  497. <version>${project.version}</version>
  498. </dependency>
  499. <dependency>
  500. <groupId>com.thing.common</groupId>
  501. <artifactId>script</artifactId>
  502. <version>${project.version}</version>
  503. </dependency>
  504. <dependency>
  505. <groupId>com.thing.common</groupId>
  506. <artifactId>security</artifactId>
  507. <version>${project.version}</version>
  508. </dependency>
  509. <dependency>
  510. <groupId>com.thing.common</groupId>
  511. <artifactId>transport</artifactId>
  512. <version>${project.version}</version>
  513. </dependency>
  514. <dependency>
  515. <groupId>com.thing.common</groupId>
  516. <artifactId>tskv</artifactId>
  517. <version>${project.version}</version>
  518. </dependency>
  519. <dependency>
  520. <groupId>com.thing.common</groupId>
  521. <artifactId>util</artifactId>
  522. <version>${project.version}</version>
  523. </dependency>
  524. <!-- =================================== 内部依赖: modules模块 ======================================= -->
  525. <dependency>
  526. <groupId>com.thing.modules</groupId>
  527. <artifactId>actor-biz</artifactId>
  528. <version>${project.version}</version>
  529. </dependency>
  530. <dependency>
  531. <groupId>com.thing.modules</groupId>
  532. <artifactId>alarm</artifactId>
  533. <version>${project.version}</version>
  534. </dependency>
  535. <dependency>
  536. <groupId>com.thing.modules</groupId>
  537. <artifactId>calculation</artifactId>
  538. <version>${project.version}</version>
  539. </dependency>
  540. <dependency>
  541. <groupId>com.thing.modules</groupId>
  542. <artifactId>mock</artifactId>
  543. <version>${project.version}</version>
  544. </dependency>
  545. <dependency>
  546. <groupId>com.thing.modules</groupId>
  547. <artifactId>filter-rule</artifactId>
  548. <version>${project.version}</version>
  549. </dependency>
  550. <dependency>
  551. <groupId>com.thing.modules</groupId>
  552. <artifactId>report-analysis</artifactId>
  553. <version>${project.version}</version>
  554. </dependency>
  555. <dependency>
  556. <groupId>com.thing.modules</groupId>
  557. <artifactId>configuration</artifactId>
  558. <version>${project.version}</version>
  559. </dependency>
  560. <dependency>
  561. <groupId>com.thing.modules</groupId>
  562. <artifactId>dequeue</artifactId>
  563. <version>${project.version}</version>
  564. </dependency>
  565. <dependency>
  566. <groupId>com.thing.modules</groupId>
  567. <artifactId>fix</artifactId>
  568. <version>${project.version}</version>
  569. </dependency>
  570. <dependency>
  571. <groupId>com.thing.modules</groupId>
  572. <artifactId>msg</artifactId>
  573. <version>${project.version}</version>
  574. </dependency>
  575. <dependency>
  576. <groupId>com.thing.modules</groupId>
  577. <artifactId>publicorg</artifactId>
  578. <version>${project.version}</version>
  579. </dependency>
  580. <dependency>
  581. <groupId>com.thing.modules</groupId>
  582. <artifactId>quartz</artifactId>
  583. <version>${project.version}</version>
  584. </dependency>
  585. <dependency>
  586. <groupId>com.thing.modules</groupId>
  587. <artifactId>thing</artifactId>
  588. <version>${project.version}</version>
  589. </dependency>
  590. <dependency>
  591. <groupId>com.thing.modules</groupId>
  592. <artifactId>equipment</artifactId>
  593. <version>${project.version}</version>
  594. </dependency>
  595. <dependency>
  596. <groupId>com.thing.modules</groupId>
  597. <artifactId>carbon-track</artifactId>
  598. <version>${project.version}</version>
  599. </dependency>
  600. <dependency>
  601. <groupId>com.thing.modules</groupId>
  602. <artifactId>carbon-public</artifactId>
  603. <version>${project.version}</version>
  604. </dependency>
  605. <dependency>
  606. <groupId>com.thing.modules</groupId>
  607. <artifactId>cqc-service</artifactId>
  608. <version>${project.version}</version>
  609. </dependency>
  610. <!-- =================================== 内部依赖: tools模块 ======================================= -->
  611. <dependency>
  612. <groupId>com.thing.tools</groupId>
  613. <artifactId>code-generator</artifactId>
  614. <version>${project.version}</version>
  615. </dependency>
  616. <dependency>
  617. <groupId>com.thing.tools</groupId>
  618. <artifactId>system-monitor</artifactId>
  619. <version>${project.version}</version>
  620. </dependency>
  621. <dependency>
  622. <groupId>com.github.xiaoymin</groupId>
  623. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  624. <version>${knife4j.version}</version>
  625. </dependency>
  626. </dependencies>
  627. </dependencyManagement>
  628. <build>
  629. <extensions>
  630. <extension>
  631. <groupId>kr.motd.maven</groupId>
  632. <artifactId>os-maven-plugin</artifactId>
  633. <version>${os-maven-plugin.version}</version>
  634. </extension>
  635. </extensions>
  636. <pluginManagement>
  637. <plugins>
  638. <plugin>
  639. <groupId>org.springframework.boot</groupId>
  640. <artifactId>spring-boot-maven-plugin</artifactId>
  641. <version>${spring-boot.version}</version>
  642. </plugin>
  643. <plugin>
  644. <groupId>org.apache.maven.plugins</groupId>
  645. <artifactId>maven-surefire-plugin</artifactId>
  646. <configuration>
  647. <skipTests>true</skipTests>
  648. </configuration>
  649. </plugin>
  650. <plugin>
  651. <groupId>com.spotify</groupId>
  652. <artifactId>docker-maven-plugin</artifactId>
  653. <version>1.1.1</version>
  654. <configuration>
  655. <imageName>thing/${project.artifactId}</imageName>
  656. <dockerDirectory>${project.basedir}/</dockerDirectory>
  657. <resources>
  658. <resource>
  659. <targetPath>/</targetPath>
  660. <directory>${project.build.directory}</directory>
  661. <include>${project.build.finalName}.jar</include>
  662. </resource>
  663. </resources>
  664. </configuration>
  665. </plugin>
  666. <plugin>
  667. <groupId>org.apache.maven.plugins</groupId>
  668. <artifactId>maven-compiler-plugin</artifactId>
  669. <version>${maven-compiler-plugin.verison}</version>
  670. <configuration>
  671. <source>${java.version}</source>
  672. <target>${java.version}</target>
  673. <encoding>${project.build.sourceEncoding}</encoding>
  674. <annotationProcessorPaths>
  675. <path>
  676. <groupId>org.projectlombok</groupId>
  677. <artifactId>lombok</artifactId>
  678. <version>${lombok.version}</version>
  679. </path>
  680. <path>
  681. <groupId>org.springframework.boot</groupId>
  682. <artifactId>spring-boot-configuration-processor</artifactId>
  683. <version>${spring-boot.version}</version>
  684. </path>
  685. <path>
  686. <groupId>org.projectlombok</groupId>
  687. <artifactId>lombok-mapstruct-binding</artifactId>
  688. <version>${mapstruct-plus.lombok.version}</version>
  689. </path>
  690. <path>
  691. <groupId>com.mybatis-flex</groupId>
  692. <artifactId>mybatis-flex-processor</artifactId>
  693. <version>${mybatis-flex.version}</version>
  694. </path>
  695. </annotationProcessorPaths>
  696. <compilerArgs>
  697. <arg>-parameters</arg>
  698. </compilerArgs>
  699. </configuration>
  700. </plugin>
  701. <plugin>
  702. <groupId>org.xolstice.maven.plugins</groupId>
  703. <artifactId>protobuf-maven-plugin</artifactId>
  704. <version>0.5.0</version>
  705. <configuration>
  706. <protocArtifact>
  707. com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}
  708. </protocArtifact>
  709. <pluginId>grpc-java</pluginId>
  710. </configuration>
  711. <executions>
  712. <execution>
  713. <goals>
  714. <goal>compile</goal>
  715. <goal>compile-custom</goal>
  716. </goals>
  717. </execution>
  718. </executions>
  719. </plugin>
  720. </plugins>
  721. </pluginManagement>
  722. </build>
  723. <repositories>
  724. <repository>
  725. <id>public</id>
  726. <name>ali</name>
  727. <url>https://maven.aliyun.com/repository/central</url>
  728. <releases>
  729. <enabled>true</enabled>
  730. </releases>
  731. </repository>
  732. <!-- 若想引用modbus4j需要引入下列repository id:ias-snapshots id:ias-releases 两个 -->
  733. <repository>
  734. <releases>
  735. <enabled>false</enabled>
  736. </releases>
  737. <snapshots>
  738. <enabled>true</enabled>
  739. </snapshots>
  740. <id>ias-snapshots</id>
  741. <name>Infinite Automation Snapshot Repository</name>
  742. <url>https://maven.mangoautomation.net/repository/ias-snapshot/</url>
  743. </repository>
  744. <repository>
  745. <releases>
  746. <enabled>true</enabled>
  747. </releases>
  748. <snapshots>
  749. <enabled>false</enabled>
  750. </snapshots>
  751. <id>ias-releases</id>
  752. <name>Infinite Automation Release Repository</name>
  753. <url>https://maven.mangoautomation.net/repository/ias-release/</url>
  754. </repository>
  755. </repositories>
  756. </project>