pom.xml 19 KB

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