pom.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  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. <groupId>org.jetlinks.community</groupId>
  7. <artifactId>jetlinks-community</artifactId>
  8. <version>2.1.0-SNAPSHOT</version>
  9. <modules>
  10. <module>jetlinks-components</module>
  11. <module>jetlinks-manager</module>
  12. <module>jetlinks-standalone</module>
  13. </modules>
  14. <packaging>pom</packaging>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.build.locales>zh_CN</project.build.locales>
  18. <spring.boot.version>2.7.3</spring.boot.version>
  19. <java.version>1.8</java.version>
  20. <project.build.jdk>${java.version}</project.build.jdk>
  21. <hsweb.framework.version>4.0.15</hsweb.framework.version>
  22. <easyorm.version>4.1.0</easyorm.version>
  23. <hsweb.expands.version>3.0.2</hsweb.expands.version>
  24. <jetlinks.version>1.2.0</jetlinks.version>
  25. <r2dbc.version>Borca-SR2</r2dbc.version>
  26. <netty.version>4.1.82.Final</netty.version>
  27. <elasticsearch.version>7.17.5</elasticsearch.version>
  28. <reactor.excel.version>1.0.4</reactor.excel.version>
  29. <reactor.ql.version>1.0.15</reactor.ql.version>
  30. <californium.version>3.7.0</californium.version>
  31. <fastjson.version>1.2.83</fastjson.version>
  32. <reactor.version>2020.0.22</reactor.version>
  33. <vertx.version>4.3.3</vertx.version>
  34. <log4j.version>2.18.0</log4j.version>
  35. <logback.version>1.2.11</logback.version>
  36. <springdoc.version>1.6.11</springdoc.version>
  37. <jackson.version>2.13.4</jackson.version>
  38. <opentelemetry.version>1.17.0</opentelemetry.version>
  39. <swagger.version>2.2.2</swagger.version>
  40. <jna.version>5.12.1</jna.version>
  41. </properties>
  42. <profiles>
  43. <profile>
  44. <id>build</id>
  45. <repositories>
  46. <repository>
  47. <id>maven-central</id>
  48. <name>central</name>
  49. <url>https://repo1.maven.org/maven2/</url>
  50. </repository>
  51. </repositories>
  52. </profile>
  53. </profiles>
  54. <build>
  55. <finalName>${project.artifactId}</finalName>
  56. <resources>
  57. <resource>
  58. <directory>src/main/resources</directory>
  59. <filtering>true</filtering>
  60. </resource>
  61. </resources>
  62. <pluginManagement>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-install-plugin</artifactId>
  67. <version>2.4</version>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-maven-plugin</artifactId>
  72. <version>${spring.boot.version}</version>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-deploy-plugin</artifactId>
  77. <version>2.8.2</version>
  78. </plugin>
  79. </plugins>
  80. </pluginManagement>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-compiler-plugin</artifactId>
  85. <version>3.1</version>
  86. <configuration>
  87. <source>${project.build.jdk}</source>
  88. <target>${project.build.jdk}</target>
  89. <encoding>${project.build.sourceEncoding}</encoding>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.jacoco</groupId>
  94. <artifactId>jacoco-maven-plugin</artifactId>
  95. <version>0.8.7</version>
  96. <executions>
  97. <execution>
  98. <goals>
  99. <goal>prepare-agent</goal>
  100. </goals>
  101. <configuration>
  102. <propertyName>jacocoArgLine</propertyName>
  103. </configuration>
  104. </execution>
  105. <execution>
  106. <id>report</id>
  107. <phase>test</phase>
  108. <goals>
  109. <goal>report</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-source-plugin</artifactId>
  117. <version>2.4</version>
  118. <executions>
  119. <execution>
  120. <id>attach-sources</id>
  121. <goals>
  122. <goal>jar-no-fork</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.codehaus.gmavenplus</groupId>
  129. <artifactId>gmavenplus-plugin</artifactId>
  130. <version>1.6.1</version>
  131. <executions>
  132. <execution>
  133. <goals>
  134. <goal>addTestSources</goal>
  135. <goal>compile</goal>
  136. <goal>compileTests</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. <dependencies>
  141. <dependency>
  142. <groupId>org.codehaus.groovy</groupId>
  143. <artifactId>groovy</artifactId>
  144. <version>2.5.14</version>
  145. </dependency>
  146. </dependencies>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-surefire-plugin</artifactId>
  151. <version>2.22.0</version>
  152. <configuration>
  153. <includes>
  154. <include>**/*Test.java</include>
  155. <include>**/*Tests.java</include>
  156. <include>**/*TestCase.java</include>
  157. </includes>
  158. <argLine>-Dfile.encoding=UTF-8 ${jacocoArgLine}</argLine>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. <dependencyManagement>
  164. <dependencies>
  165. <dependency>
  166. <groupId>net.java.dev.jna</groupId>
  167. <artifactId>jna</artifactId>
  168. <version>${jna.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>net.java.dev.jna</groupId>
  172. <artifactId>jna-platform</artifactId>
  173. <version>${jna.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.yaml</groupId>
  177. <artifactId>snakeyaml</artifactId>
  178. <version>1.32</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.json</groupId>
  182. <artifactId>json</artifactId>
  183. <version>20230227</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.jsoup</groupId>
  187. <artifactId>jsoup</artifactId>
  188. <version>1.15.3</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.h2database</groupId>
  192. <artifactId>h2</artifactId>
  193. <version>2.1.210</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.springdoc</groupId>
  197. <artifactId>springdoc-openapi-common</artifactId>
  198. <version>${springdoc.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springdoc</groupId>
  202. <artifactId>springdoc-openapi-webflux-core</artifactId>
  203. <version>${springdoc.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.springdoc</groupId>
  207. <artifactId>springdoc-openapi-webflux-ui</artifactId>
  208. <version>${springdoc.version}</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.apache.logging.log4j</groupId>
  212. <artifactId>log4j-to-slf4j</artifactId>
  213. <version>${log4j.version}</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.apache.logging.log4j</groupId>
  217. <artifactId>log4j-api</artifactId>
  218. <version>${log4j.version}</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.apache.logging.log4j</groupId>
  222. <artifactId>log4j-core</artifactId>
  223. <version>${log4j.version}</version>
  224. </dependency>
  225. <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
  226. <dependency>
  227. <groupId>org.bouncycastle</groupId>
  228. <artifactId>bcprov-jdk15on</artifactId>
  229. <version>1.70</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.bouncycastle</groupId>
  233. <artifactId>bcpkix-jdk15on</artifactId>
  234. <version>1.70</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.fasterxml.jackson</groupId>
  238. <artifactId>jackson-bom</artifactId>
  239. <version>${jackson.version}</version>
  240. <type>pom</type>
  241. <scope>import</scope>
  242. </dependency>
  243. <dependency>
  244. <groupId>commons-codec</groupId>
  245. <artifactId>commons-codec</artifactId>
  246. <version>1.15</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>io.netty</groupId>
  250. <artifactId>netty-bom</artifactId>
  251. <version>${netty.version}</version>
  252. <type>pom</type>
  253. <scope>import</scope>
  254. </dependency>
  255. <dependency>
  256. <groupId>io.projectreactor</groupId>
  257. <artifactId>reactor-bom</artifactId>
  258. <version>${reactor.version}</version>
  259. <type>pom</type>
  260. <scope>import</scope>
  261. </dependency>
  262. <dependency>
  263. <groupId>io.vertx</groupId>
  264. <artifactId>vertx-dependencies</artifactId>
  265. <version>${vertx.version}</version>
  266. <type>pom</type>
  267. <scope>import</scope>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.eclipse.californium</groupId>
  271. <artifactId>californium-core</artifactId>
  272. <version>${californium.version}</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.eclipse.californium</groupId>
  276. <artifactId>scandium</artifactId>
  277. <version>${californium.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.jetlinks</groupId>
  281. <artifactId>reactor-ql</artifactId>
  282. <version>${reactor.ql.version}</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.hswebframework</groupId>
  286. <artifactId>reactor-excel</artifactId>
  287. <version>${reactor.excel.version}</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>io.vavr</groupId>
  291. <artifactId>vavr</artifactId>
  292. <version>0.9.2</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>ch.qos.logback</groupId>
  296. <artifactId>logback-classic</artifactId>
  297. <version>${logback.version}</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>ch.qos.logback</groupId>
  301. <artifactId>logback-core</artifactId>
  302. <version>${logback.version}</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>com.alibaba</groupId>
  306. <artifactId>fastjson</artifactId>
  307. <version>${fastjson.version}</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>io.r2dbc</groupId>
  311. <artifactId>r2dbc-bom</artifactId>
  312. <version>${r2dbc.version}</version>
  313. <type>pom</type>
  314. <scope>import</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.springframework.boot</groupId>
  318. <artifactId>spring-boot-dependencies</artifactId>
  319. <version>${spring.boot.version}</version>
  320. <type>pom</type>
  321. <scope>import</scope>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.hswebframework.web</groupId>
  325. <artifactId>hsweb-framework</artifactId>
  326. <version>${hsweb.framework.version}</version>
  327. <type>pom</type>
  328. <scope>import</scope>
  329. <exclusions>
  330. <exclusion>
  331. <groupId>io.r2dbc</groupId>
  332. <artifactId>r2dbc-bom</artifactId>
  333. </exclusion>
  334. <exclusion>
  335. <groupId>org.springframework.boot</groupId>
  336. <artifactId>spring-boot-dependencies</artifactId>
  337. </exclusion>
  338. </exclusions>
  339. </dependency>
  340. <dependency>
  341. <groupId>org.hswebframework.web</groupId>
  342. <artifactId>hsweb-core</artifactId>
  343. <version>${hsweb.framework.version}</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>org.jetlinks</groupId>
  347. <artifactId>rule-engine-support</artifactId>
  348. <version>${jetlinks.version}</version>
  349. </dependency>
  350. <dependency>
  351. <groupId>org.jetlinks</groupId>
  352. <artifactId>jetlinks-supports</artifactId>
  353. <version>${jetlinks.version}</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>com.google.guava</groupId>
  357. <artifactId>guava</artifactId>
  358. <version>31.0.1-jre</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>org.elasticsearch.client</groupId>
  362. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  363. <version>${elasticsearch.version}</version>
  364. </dependency>
  365. <dependency>
  366. <groupId>org.elasticsearch</groupId>
  367. <artifactId>elasticsearch</artifactId>
  368. <version>${elasticsearch.version}</version>
  369. </dependency>
  370. <dependency>
  371. <groupId>org.elasticsearch.client</groupId>
  372. <artifactId>elasticsearch-rest-client</artifactId>
  373. <version>${elasticsearch.version}</version>
  374. </dependency>
  375. <dependency>
  376. <groupId>org.elasticsearch.plugin</groupId>
  377. <artifactId>transport-netty4-client</artifactId>
  378. <version>${elasticsearch.version}</version>
  379. </dependency>
  380. <dependency>
  381. <groupId>org.hswebframework</groupId>
  382. <artifactId>hsweb-easy-orm-core</artifactId>
  383. <version>${easyorm.version}</version>
  384. </dependency>
  385. <dependency>
  386. <groupId>org.hswebframework</groupId>
  387. <artifactId>hsweb-easy-orm-rdb</artifactId>
  388. <version>${easyorm.version}</version>
  389. <exclusions>
  390. <exclusion>
  391. <groupId>io.r2dbc</groupId>
  392. <artifactId>r2dbc-bom</artifactId>
  393. </exclusion>
  394. </exclusions>
  395. </dependency>
  396. <dependency>
  397. <groupId>io.swagger.core.v3</groupId>
  398. <artifactId>swagger-annotations</artifactId>
  399. <version>${swagger.version}</version>
  400. </dependency>
  401. <dependency>
  402. <groupId>org.apache.commons</groupId>
  403. <artifactId>commons-text</artifactId>
  404. <version>1.10.0</version>
  405. </dependency>
  406. </dependencies>
  407. </dependencyManagement>
  408. <dependencies>
  409. <dependency>
  410. <groupId>org.apache.commons</groupId>
  411. <artifactId>commons-text</artifactId>
  412. </dependency>
  413. <dependency>
  414. <groupId>commons-lang</groupId>
  415. <artifactId>commons-lang</artifactId>
  416. <version>2.6</version>
  417. </dependency>
  418. <dependency>
  419. <groupId>org.springframework.boot</groupId>
  420. <artifactId>spring-boot-starter-test</artifactId>
  421. <scope>test</scope>
  422. </dependency>
  423. <dependency>
  424. <groupId>org.junit.jupiter</groupId>
  425. <artifactId>junit-jupiter-api</artifactId>
  426. <scope>test</scope>
  427. </dependency>
  428. <dependency>
  429. <groupId>org.junit.jupiter</groupId>
  430. <artifactId>junit-jupiter-params</artifactId>
  431. <scope>test</scope>
  432. </dependency>
  433. <dependency>
  434. <groupId>org.junit.jupiter</groupId>
  435. <artifactId>junit-jupiter-engine</artifactId>
  436. <scope>test</scope>
  437. </dependency>
  438. <dependency>
  439. <groupId>org.testcontainers</groupId>
  440. <artifactId>testcontainers</artifactId>
  441. <version>1.17.4</version>
  442. <scope>test</scope>
  443. </dependency>
  444. <dependency>
  445. <groupId>org.testcontainers</groupId>
  446. <artifactId>junit-jupiter</artifactId>
  447. <version>1.17.4</version>
  448. <scope>test</scope>
  449. </dependency>
  450. <dependency>
  451. <groupId>io.projectreactor</groupId>
  452. <artifactId>reactor-test</artifactId>
  453. <scope>test</scope>
  454. </dependency>
  455. <dependency>
  456. <groupId>org.springframework</groupId>
  457. <artifactId>spring-context-indexer</artifactId>
  458. </dependency>
  459. <dependency>
  460. <groupId>io.projectreactor</groupId>
  461. <artifactId>reactor-core</artifactId>
  462. </dependency>
  463. <dependency>
  464. <groupId>org.codehaus.groovy</groupId>
  465. <artifactId>groovy</artifactId>
  466. </dependency>
  467. <dependency>
  468. <groupId>junit</groupId>
  469. <artifactId>junit</artifactId>
  470. <scope>test</scope>
  471. </dependency>
  472. <dependency>
  473. <groupId>org.slf4j</groupId>
  474. <artifactId>slf4j-api</artifactId>
  475. </dependency>
  476. <dependency>
  477. <groupId>ch.qos.logback</groupId>
  478. <artifactId>logback-classic</artifactId>
  479. </dependency>
  480. <dependency>
  481. <groupId>org.projectlombok</groupId>
  482. <artifactId>lombok</artifactId>
  483. <scope>provided</scope>
  484. </dependency>
  485. <dependency>
  486. <groupId>org.springframework.boot</groupId>
  487. <artifactId>spring-boot-configuration-processor</artifactId>
  488. <optional>true</optional>
  489. </dependency>
  490. </dependencies>
  491. <repositories>
  492. <repository>
  493. <id>aliyun-nexus</id>
  494. <name>aliyun</name>
  495. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  496. <snapshots>
  497. <enabled>false</enabled>
  498. </snapshots>
  499. </repository>
  500. <repository>
  501. <id>hsweb-nexus</id>
  502. <name>Nexus Release Repository</name>
  503. <url>https://nexus.hsweb.me/content/groups/public/</url>
  504. <releases>
  505. <enabled>false</enabled>
  506. </releases>
  507. <snapshots>
  508. <enabled>true</enabled>
  509. <updatePolicy>always</updatePolicy>
  510. </snapshots>
  511. </repository>
  512. </repositories>
  513. <distributionManagement>
  514. <repository>
  515. <id>releases</id>
  516. <name>Nexus Release Repository</name>
  517. <url>https://nexus.hsweb.me/content/repositories/releases/</url>
  518. </repository>
  519. <snapshotRepository>
  520. <id>snapshots</id>
  521. <name>Nexus Snapshot Repository</name>
  522. <url>https://nexus.hsweb.me/content/repositories/snapshots/</url>
  523. </snapshotRepository>
  524. </distributionManagement>
  525. <pluginRepositories>
  526. <pluginRepository>
  527. <id>aliyun-nexus</id>
  528. <name>aliyun</name>
  529. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  530. </pluginRepository>
  531. </pluginRepositories>
  532. </project>