pom.xml 12 KB

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