pom.xml 12 KB

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