pom.xml 21 KB

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