pom.xml 14 KB

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