物管理后端
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.

768 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.7</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>data</artifactId>
  387. <version>${thingsboard.version}</version>
  388. </dependency>
  389. <dependency>
  390. <groupId>io.jsonwebtoken</groupId>
  391. <artifactId>jjwt</artifactId>
  392. <version>0.9.1</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>com.github.vladimir-bukhtoyarov</groupId>
  396. <artifactId>bucket4j-core</artifactId>
  397. <version>${bucket4j.version}</version>
  398. </dependency>
  399. <!--retry-->
  400. <dependency>
  401. <groupId>org.springframework.retry</groupId>
  402. <artifactId>spring-retry</artifactId>
  403. <version>${spring-retry.version}</version>
  404. </dependency>
  405. <dependency>
  406. <groupId>org.java-websocket</groupId>
  407. <artifactId>Java-WebSocket</artifactId>
  408. <version>${websocket.version}</version>
  409. </dependency>
  410. <dependency>
  411. <groupId>com.infiniteautomation</groupId>
  412. <artifactId>modbus4j</artifactId>
  413. <version>${modbus4j.version}</version>
  414. </dependency>
  415. <dependency>
  416. <groupId>org.apache.httpcomponents.client5</groupId>
  417. <artifactId>httpclient5</artifactId>
  418. <version>${httpclient5.version}</version>
  419. </dependency>
  420. <dependency>
  421. <groupId>org.quartz-scheduler</groupId>
  422. <artifactId>quartz</artifactId>
  423. <version>${quartz.version}</version>
  424. </dependency>
  425. <dependency>
  426. <groupId>com.alibaba</groupId>
  427. <artifactId>easyexcel</artifactId>
  428. <version>${easyexcel.version}</version>
  429. </dependency>
  430. <dependency>
  431. <groupId>org.bouncycastle</groupId>
  432. <artifactId>bcprov-jdk18on</artifactId>
  433. <version>${bcprov.version}</version>
  434. </dependency>
  435. <!-- 模板引擎 -->
  436. <dependency>
  437. <groupId>org.freemarker</groupId>
  438. <artifactId>freemarker</artifactId>
  439. <version>${freemarker.version}</version>
  440. </dependency>
  441. <!-- message -->
  442. <dependency>
  443. <groupId>com.aliyun</groupId>
  444. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  445. <version>${aliyun.dysmsapi.version}</version>
  446. </dependency>
  447. <dependency>
  448. <groupId>com.github.qcloudsms</groupId>
  449. <artifactId>qcloudsms</artifactId>
  450. <version>${qcloud.qcloudsms.version}</version>
  451. </dependency>
  452. <dependency>
  453. <groupId>com.sun.mail</groupId>
  454. <artifactId>jakarta.mail</artifactId>
  455. <version>${jakarta.mail.version}</version>
  456. </dependency>
  457. <!-- mock数据 -->
  458. <dependency>
  459. <groupId>com.github.jsonzou</groupId>
  460. <artifactId>jmockdata</artifactId>
  461. <version>${jmockdata.version}</version>
  462. </dependency>
  463. <!-- =================================== 内部依赖: common模块 ======================================= -->
  464. <dependency>
  465. <groupId>com.thing.common</groupId>
  466. <artifactId>actor</artifactId>
  467. <version>${project.version}</version>
  468. </dependency>
  469. <dependency>
  470. <groupId>com.thing.common</groupId>
  471. <artifactId>cache</artifactId>
  472. <version>${project.version}</version>
  473. </dependency>
  474. <dependency>
  475. <groupId>com.thing.common</groupId>
  476. <artifactId>core</artifactId>
  477. <version>${project.version}</version>
  478. </dependency>
  479. <dependency>
  480. <groupId>com.thing.common</groupId>
  481. <artifactId>data</artifactId>
  482. <version>${project.version}</version>
  483. </dependency>
  484. <dependency>
  485. <groupId>com.thing.common</groupId>
  486. <artifactId>orm</artifactId>
  487. <version>${project.version}</version>
  488. </dependency>
  489. <dependency>
  490. <groupId>com.thing.common</groupId>
  491. <artifactId>queue</artifactId>
  492. <version>${project.version}</version>
  493. </dependency>
  494. <dependency>
  495. <groupId>com.thing.common</groupId>
  496. <artifactId>script</artifactId>
  497. <version>${project.version}</version>
  498. </dependency>
  499. <dependency>
  500. <groupId>com.thing.common</groupId>
  501. <artifactId>security</artifactId>
  502. <version>${project.version}</version>
  503. </dependency>
  504. <dependency>
  505. <groupId>com.thing.common</groupId>
  506. <artifactId>transport</artifactId>
  507. <version>${project.version}</version>
  508. </dependency>
  509. <dependency>
  510. <groupId>com.thing.common</groupId>
  511. <artifactId>tskv</artifactId>
  512. <version>${project.version}</version>
  513. </dependency>
  514. <dependency>
  515. <groupId>com.thing.common</groupId>
  516. <artifactId>util</artifactId>
  517. <version>${project.version}</version>
  518. </dependency>
  519. <!-- =================================== 内部依赖: modules模块 ======================================= -->
  520. <dependency>
  521. <groupId>com.thing.modules</groupId>
  522. <artifactId>actor-biz</artifactId>
  523. <version>${project.version}</version>
  524. </dependency>
  525. <dependency>
  526. <groupId>com.thing.modules</groupId>
  527. <artifactId>alarm</artifactId>
  528. <version>${project.version}</version>
  529. </dependency>
  530. <dependency>
  531. <groupId>com.thing.modules</groupId>
  532. <artifactId>calculation</artifactId>
  533. <version>${project.version}</version>
  534. </dependency>
  535. <dependency>
  536. <groupId>com.thing.modules</groupId>
  537. <artifactId>mock</artifactId>
  538. <version>${project.version}</version>
  539. </dependency>
  540. <dependency>
  541. <groupId>com.thing.modules</groupId>
  542. <artifactId>filter-rule</artifactId>
  543. <version>${project.version}</version>
  544. </dependency>
  545. <dependency>
  546. <groupId>com.thing.modules</groupId>
  547. <artifactId>report-analysis</artifactId>
  548. <version>${project.version}</version>
  549. </dependency>
  550. <dependency>
  551. <groupId>com.thing.modules</groupId>
  552. <artifactId>configuration</artifactId>
  553. <version>${project.version}</version>
  554. </dependency>
  555. <dependency>
  556. <groupId>com.thing.modules</groupId>
  557. <artifactId>dequeue</artifactId>
  558. <version>${project.version}</version>
  559. </dependency>
  560. <dependency>
  561. <groupId>com.thing.modules</groupId>
  562. <artifactId>fix</artifactId>
  563. <version>${project.version}</version>
  564. </dependency>
  565. <dependency>
  566. <groupId>com.thing.modules</groupId>
  567. <artifactId>msg</artifactId>
  568. <version>${project.version}</version>
  569. </dependency>
  570. <dependency>
  571. <groupId>com.thing.modules</groupId>
  572. <artifactId>publicorg</artifactId>
  573. <version>${project.version}</version>
  574. </dependency>
  575. <dependency>
  576. <groupId>com.thing.modules</groupId>
  577. <artifactId>quartz</artifactId>
  578. <version>${project.version}</version>
  579. </dependency>
  580. <dependency>
  581. <groupId>com.thing.modules</groupId>
  582. <artifactId>thing</artifactId>
  583. <version>${project.version}</version>
  584. </dependency>
  585. <dependency>
  586. <groupId>com.thing.modules</groupId>
  587. <artifactId>equipment</artifactId>
  588. <version>${project.version}</version>
  589. </dependency>
  590. <dependency>
  591. <groupId>com.thing.modules</groupId>
  592. <artifactId>visual-design</artifactId>
  593. <version>${project.version}</version>
  594. </dependency>
  595. <!-- =================================== 内部依赖: tools模块 ======================================= -->
  596. <dependency>
  597. <groupId>com.thing.tools</groupId>
  598. <artifactId>code-generator</artifactId>
  599. <version>${project.version}</version>
  600. </dependency>
  601. <dependency>
  602. <groupId>com.thing.tools</groupId>
  603. <artifactId>system-monitor</artifactId>
  604. <version>${project.version}</version>
  605. </dependency>
  606. <dependency>
  607. <groupId>com.github.xiaoymin</groupId>
  608. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  609. <version>${knife4j.version}</version>
  610. </dependency>
  611. </dependencies>
  612. </dependencyManagement>
  613. <build>
  614. <extensions>
  615. <extension>
  616. <groupId>kr.motd.maven</groupId>
  617. <artifactId>os-maven-plugin</artifactId>
  618. <version>${os-maven-plugin.version}</version>
  619. </extension>
  620. </extensions>
  621. <pluginManagement>
  622. <plugins>
  623. <plugin>
  624. <groupId>org.springframework.boot</groupId>
  625. <artifactId>spring-boot-maven-plugin</artifactId>
  626. <version>${spring-boot.version}</version>
  627. </plugin>
  628. <plugin>
  629. <groupId>org.apache.maven.plugins</groupId>
  630. <artifactId>maven-surefire-plugin</artifactId>
  631. <configuration>
  632. <skipTests>true</skipTests>
  633. </configuration>
  634. </plugin>
  635. <plugin>
  636. <groupId>com.spotify</groupId>
  637. <artifactId>docker-maven-plugin</artifactId>
  638. <version>1.1.1</version>
  639. <configuration>
  640. <imageName>thing/${project.artifactId}</imageName>
  641. <dockerDirectory>${project.basedir}/</dockerDirectory>
  642. <resources>
  643. <resource>
  644. <targetPath>/</targetPath>
  645. <directory>${project.build.directory}</directory>
  646. <include>${project.build.finalName}.jar</include>
  647. </resource>
  648. </resources>
  649. </configuration>
  650. </plugin>
  651. <plugin>
  652. <groupId>org.apache.maven.plugins</groupId>
  653. <artifactId>maven-compiler-plugin</artifactId>
  654. <version>${maven-compiler-plugin.verison}</version>
  655. <configuration>
  656. <source>${java.version}</source>
  657. <target>${java.version}</target>
  658. <encoding>${project.build.sourceEncoding}</encoding>
  659. <annotationProcessorPaths>
  660. <path>
  661. <groupId>org.projectlombok</groupId>
  662. <artifactId>lombok</artifactId>
  663. <version>${lombok.version}</version>
  664. </path>
  665. <path>
  666. <groupId>org.springframework.boot</groupId>
  667. <artifactId>spring-boot-configuration-processor</artifactId>
  668. <version>${spring-boot.version}</version>
  669. </path>
  670. <path>
  671. <groupId>org.projectlombok</groupId>
  672. <artifactId>lombok-mapstruct-binding</artifactId>
  673. <version>${mapstruct-plus.lombok.version}</version>
  674. </path>
  675. <path>
  676. <groupId>com.mybatis-flex</groupId>
  677. <artifactId>mybatis-flex-processor</artifactId>
  678. <version>${mybatis-flex.version}</version>
  679. </path>
  680. </annotationProcessorPaths>
  681. <compilerArgs>
  682. <arg>-parameters</arg>
  683. </compilerArgs>
  684. </configuration>
  685. </plugin>
  686. <plugin>
  687. <groupId>org.xolstice.maven.plugins</groupId>
  688. <artifactId>protobuf-maven-plugin</artifactId>
  689. <version>0.5.0</version>
  690. <configuration>
  691. <protocArtifact>
  692. com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}
  693. </protocArtifact>
  694. <pluginId>grpc-java</pluginId>
  695. </configuration>
  696. <executions>
  697. <execution>
  698. <goals>
  699. <goal>compile</goal>
  700. <goal>compile-custom</goal>
  701. </goals>
  702. </execution>
  703. </executions>
  704. </plugin>
  705. </plugins>
  706. </pluginManagement>
  707. </build>
  708. <repositories>
  709. <repository>
  710. <id>public</id>
  711. <name>ali</name>
  712. <url>https://maven.aliyun.com/repository/central</url>
  713. <releases>
  714. <enabled>true</enabled>
  715. </releases>
  716. </repository>
  717. <!-- 若想引用modbus4j需要引入下列repository id:ias-snapshots id:ias-releases 两个 -->
  718. <repository>
  719. <releases>
  720. <enabled>false</enabled>
  721. </releases>
  722. <snapshots>
  723. <enabled>true</enabled>
  724. </snapshots>
  725. <id>ias-snapshots</id>
  726. <name>Infinite Automation Snapshot Repository</name>
  727. <url>https://maven.mangoautomation.net/repository/ias-snapshot/</url>
  728. </repository>
  729. <repository>
  730. <releases>
  731. <enabled>true</enabled>
  732. </releases>
  733. <snapshots>
  734. <enabled>false</enabled>
  735. </snapshots>
  736. <id>ias-releases</id>
  737. <name>Infinite Automation Release Repository</name>
  738. <url>https://maven.mangoautomation.net/repository/ias-release/</url>
  739. </repository>
  740. </repositories>
  741. </project>