pom.xml 12 KB

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