pom.xml 19 KB

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