pom.xml 16 KB

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