pom.xml 12 KB

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