pom.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  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>1.10.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.3.11.RELEASE</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.12</hsweb.framework.version>
  22. <easyorm.version>4.0.13-SNAPSHOT</easyorm.version>
  23. <hsweb.expands.version>3.0.2</hsweb.expands.version>
  24. <jetlinks.version>1.1.7-SNAPSHOT</jetlinks.version>
  25. <r2dbc.version>Arabba-SR10</r2dbc.version>
  26. <vertx.version>3.8.5</vertx.version>
  27. <netty.version>4.1.51.Final</netty.version>
  28. <elasticsearch.version>7.11.2</elasticsearch.version>
  29. <reactor.excel.version>1.0.1</reactor.excel.version>
  30. <reactor.ql.version>1.0.13</reactor.ql.version>
  31. <fastjson.version>1.2.75</fastjson.version>
  32. <hutool.version>5.7.16</hutool.version>
  33. <aliyun.sdk.version>4.5.6</aliyun.sdk.version>
  34. <aliyun.iot.sdk.version>7.29.0</aliyun.iot.sdk.version>
  35. <aliyun.bridge.sdk.version>2.4.1</aliyun.bridge.sdk.version>
  36. <redisson.version>3.13.6</redisson.version>
  37. <sip.version>1.3.0-91</sip.version>
  38. <californium.version>2.2.3</californium.version>
  39. </properties>
  40. <build>
  41. <finalName>${project.artifactId}</finalName>
  42. <resources>
  43. <resource>
  44. <directory>src/main/resources</directory>
  45. <filtering>true</filtering>
  46. </resource>
  47. </resources>
  48. <pluginManagement>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-install-plugin</artifactId>
  53. <version>2.4</version>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-maven-plugin</artifactId>
  58. <version>${spring.boot.version}</version>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-deploy-plugin</artifactId>
  63. <version>2.8.2</version>
  64. </plugin>
  65. </plugins>
  66. </pluginManagement>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-compiler-plugin</artifactId>
  71. <version>3.1</version>
  72. <configuration>
  73. <source>${project.build.jdk}</source>
  74. <target>${project.build.jdk}</target>
  75. <encoding>${project.build.sourceEncoding}</encoding>
  76. </configuration>
  77. </plugin>
  78. <plugin>
  79. <groupId>org.jacoco</groupId>
  80. <artifactId>jacoco-maven-plugin</artifactId>
  81. <version>0.8.0</version>
  82. <executions>
  83. <execution>
  84. <goals>
  85. <goal>prepare-agent</goal>
  86. </goals>
  87. </execution>
  88. <execution>
  89. <id>report</id>
  90. <phase>test</phase>
  91. <goals>
  92. <goal>report</goal>
  93. </goals>
  94. </execution>
  95. </executions>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-source-plugin</artifactId>
  100. <version>2.4</version>
  101. <executions>
  102. <execution>
  103. <id>attach-sources</id>
  104. <goals>
  105. <goal>jar-no-fork</goal>
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.codehaus.gmavenplus</groupId>
  112. <artifactId>gmavenplus-plugin</artifactId>
  113. <version>1.6.1</version>
  114. <executions>
  115. <execution>
  116. <goals>
  117. <goal>addTestSources</goal>
  118. <goal>compile</goal>
  119. <goal>compileTests</goal>
  120. </goals>
  121. </execution>
  122. </executions>
  123. <dependencies>
  124. <dependency>
  125. <groupId>org.codehaus.groovy</groupId>
  126. <artifactId>groovy-all</artifactId>
  127. <version>2.4.15</version>
  128. </dependency>
  129. </dependencies>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-surefire-plugin</artifactId>
  134. <version>2.17</version>
  135. <configuration>
  136. <includes>
  137. <include>**/*Test.java</include>
  138. <include>**/*Test.groovy</include>
  139. <include>**/*Tests.java</include>
  140. <include>**/*Test.groovy</include>
  141. <include>**/*Spec.java</include>
  142. </includes>
  143. </configuration>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-javadoc-plugin</artifactId>
  148. <version>3.0.0</version>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. <profiles>
  153. <profile>
  154. <id>build</id>
  155. <repositories>
  156. <repository>
  157. <id>maven-central</id>
  158. <name>central</name>
  159. <url>https://repo1.maven.org/maven2/</url>
  160. </repository>
  161. </repositories>
  162. </profile>
  163. </profiles>
  164. <dependencyManagement>
  165. <dependencies>
  166. <!--<dependency>-->
  167. <!--<groupId>javax.sip</groupId>-->
  168. <!--<artifactId>jain-sip-ri</artifactId>-->
  169. <!--<version>${sip.version}</version>-->
  170. <!--</dependency>-->
  171. <dependency>
  172. <groupId>com.aliyun</groupId>
  173. <artifactId>aliyun-java-sdk-core</artifactId>
  174. <version>${aliyun.sdk.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.eclipse.californium</groupId>
  178. <artifactId>californium-core</artifactId>
  179. <version>${californium.version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.eclipse.californium</groupId>
  183. <artifactId>element-connector</artifactId>
  184. <version>${californium.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>cn.hutool</groupId>
  188. <artifactId>hutool-all</artifactId>
  189. <version>${hutool.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>cn.hutool</groupId>
  193. <artifactId>hutool-http</artifactId>
  194. <version>${hutool.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>cn.hutool</groupId>
  198. <artifactId>hutool-json</artifactId>
  199. <version>${hutool.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>cn.hutool</groupId>
  203. <artifactId>hutool-core</artifactId>
  204. <version>${hutool.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>cn.hutool</groupId>
  208. <artifactId>hutool-crypto</artifactId>
  209. <version>${hutool.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>io.netty</groupId>
  213. <artifactId>netty-bom</artifactId>
  214. <version>${netty.version}</version>
  215. <type>pom</type>
  216. <scope>import</scope>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.jetlinks</groupId>
  220. <artifactId>reactor-ql</artifactId>
  221. <version>${reactor.ql.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.jetlinks</groupId>
  225. <artifactId>jetlinks-core</artifactId>
  226. <version>${jetlinks.version}</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.fasterxml.jackson</groupId>
  230. <artifactId>jackson-bom</artifactId>
  231. <version>2.10.4</version>
  232. <type>pom</type>
  233. <scope>import</scope>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.hswebframework</groupId>
  237. <artifactId>reactor-excel</artifactId>
  238. <version>${reactor.excel.version}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>io.vavr</groupId>
  242. <artifactId>vavr</artifactId>
  243. <version>0.9.2</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>ch.qos.logback</groupId>
  247. <artifactId>logback-classic</artifactId>
  248. <version>1.2.3</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.alibaba</groupId>
  252. <artifactId>fastjson</artifactId>
  253. <version>${fastjson.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>io.r2dbc</groupId>
  257. <artifactId>r2dbc-bom</artifactId>
  258. <version>${r2dbc.version}</version>
  259. <type>pom</type>
  260. <scope>import</scope>
  261. </dependency>
  262. <dependency>
  263. <groupId>org.springframework.boot</groupId>
  264. <artifactId>spring-boot-dependencies</artifactId>
  265. <version>${spring.boot.version}</version>
  266. <type>pom</type>
  267. <scope>import</scope>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.hswebframework.web</groupId>
  271. <artifactId>hsweb-framework</artifactId>
  272. <version>${hsweb.framework.version}</version>
  273. <type>pom</type>
  274. <scope>import</scope>
  275. <exclusions>
  276. <exclusion>
  277. <groupId>org.springframework.boot</groupId>
  278. <artifactId>spring-boot-dependencies</artifactId>
  279. </exclusion>
  280. </exclusions>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.jetlinks</groupId>
  284. <artifactId>rule-engine-support</artifactId>
  285. <version>${jetlinks.version}</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>org.jetlinks</groupId>
  289. <artifactId>jetlinks-supports</artifactId>
  290. <version>${jetlinks.version}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>io.vertx</groupId>
  294. <artifactId>vertx-core</artifactId>
  295. <version>${vertx.version}</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>io.vertx</groupId>
  299. <artifactId>vertx-mqtt</artifactId>
  300. <version>${vertx.version}</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>org.elasticsearch.client</groupId>
  304. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  305. <version>${elasticsearch.version}</version>
  306. </dependency>
  307. <dependency>
  308. <groupId>org.elasticsearch</groupId>
  309. <artifactId>elasticsearch</artifactId>
  310. <version>${elasticsearch.version}</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>org.elasticsearch.client</groupId>
  314. <artifactId>elasticsearch-rest-client</artifactId>
  315. <version>${elasticsearch.version}</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.elasticsearch.plugin</groupId>
  319. <artifactId>transport-netty4-client</artifactId>
  320. <version>${elasticsearch.version}</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.hswebframework</groupId>
  324. <artifactId>hsweb-easy-orm-core</artifactId>
  325. <version>${easyorm.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.hswebframework</groupId>
  329. <artifactId>hsweb-easy-orm-rdb</artifactId>
  330. <version>${easyorm.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>org.hswebframework</groupId>
  334. <artifactId>hsweb-easy-orm-elasticsearch</artifactId>
  335. <version>${easyorm.version}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>org.redisson</groupId>
  339. <artifactId>redisson-spring-boot-starter</artifactId>
  340. <version>${redisson.version}</version>
  341. <exclusions>
  342. <exclusion>
  343. <groupId>org.springframework.boot</groupId>
  344. <artifactId>spring-boot-starter-web</artifactId>
  345. </exclusion>
  346. </exclusions>
  347. </dependency>
  348. </dependencies>
  349. </dependencyManagement>
  350. <dependencies>
  351. <dependency>
  352. <groupId>org.springframework.boot</groupId>
  353. <artifactId>spring-boot-starter-test</artifactId>
  354. <scope>test</scope>
  355. </dependency>
  356. <dependency>
  357. <groupId>dev.miku</groupId>
  358. <artifactId>r2dbc-mysql</artifactId>
  359. </dependency>
  360. <dependency>
  361. <groupId>io.projectreactor</groupId>
  362. <artifactId>reactor-tools</artifactId>
  363. </dependency>
  364. <dependency>
  365. <groupId>io.projectreactor</groupId>
  366. <artifactId>reactor-test</artifactId>
  367. <scope>test</scope>
  368. </dependency>
  369. <dependency>
  370. <groupId>org.springframework</groupId>
  371. <artifactId>spring-context-indexer</artifactId>
  372. </dependency>
  373. <dependency>
  374. <groupId>io.projectreactor</groupId>
  375. <artifactId>reactor-core</artifactId>
  376. </dependency>
  377. <dependency>
  378. <groupId>org.codehaus.groovy</groupId>
  379. <artifactId>groovy-all</artifactId>
  380. <version>2.4.17</version>
  381. </dependency>
  382. <dependency>
  383. <groupId>junit</groupId>
  384. <artifactId>junit</artifactId>
  385. <scope>test</scope>
  386. </dependency>
  387. <dependency>
  388. <groupId>org.slf4j</groupId>
  389. <artifactId>slf4j-api</artifactId>
  390. </dependency>
  391. <dependency>
  392. <groupId>ch.qos.logback</groupId>
  393. <artifactId>logback-classic</artifactId>
  394. </dependency>
  395. <dependency>
  396. <groupId>org.projectlombok</groupId>
  397. <artifactId>lombok</artifactId>
  398. <scope>provided</scope>
  399. </dependency>
  400. <dependency>
  401. <groupId>org.springframework.boot</groupId>
  402. <artifactId>spring-boot-configuration-processor</artifactId>
  403. <optional>true</optional>
  404. </dependency>
  405. <dependency>
  406. <groupId>org.hswebframework</groupId>
  407. <artifactId>hsweb-utils</artifactId>
  408. </dependency>
  409. </dependencies>
  410. <repositories>
  411. <repository>
  412. <id>aliyun-nexus</id>
  413. <name>aliyun</name>
  414. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  415. </repository>
  416. <repository>
  417. <id>hsweb-nexus</id>
  418. <name>Nexus Release Repository</name>
  419. <url>http://nexus.hsweb.me/content/groups/public/</url>
  420. <snapshots>
  421. <enabled>true</enabled>
  422. <updatePolicy>always</updatePolicy>
  423. </snapshots>
  424. </repository>
  425. </repositories>
  426. <distributionManagement>
  427. <repository>
  428. <id>releases</id>
  429. <name>Nexus Release Repository</name>
  430. <url>http://nexus.hsweb.me/content/repositories/releases/</url>
  431. </repository>
  432. <snapshotRepository>
  433. <id>snapshots</id>
  434. <name>Nexus Snapshot Repository</name>
  435. <url>http://nexus.hsweb.me/content/repositories/snapshots/</url>
  436. </snapshotRepository>
  437. </distributionManagement>
  438. <pluginRepositories>
  439. <pluginRepository>
  440. <id>aliyun-nexus</id>
  441. <name>aliyun</name>
  442. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  443. </pluginRepository>
  444. </pluginRepositories>
  445. </project>