pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. <parent>
  7. <artifactId>cloud-dependencies-parent</artifactId>
  8. <groupId>com.qunzhixinxi</groupId>
  9. <version>1.0.0</version>
  10. <relativePath/>
  11. </parent>
  12. <artifactId>hnqz-common-bom</artifactId>
  13. <packaging>pom</packaging>
  14. <version>3.9.0</version>
  15. <description>hnqz 公共版本控制</description>
  16. <properties>
  17. <hnqz.version>3.9.0</hnqz.version>
  18. <mybatis-plus.version>3.4.2</mybatis-plus.version>
  19. <dynamic-ds.version>3.0.0</dynamic-ds.version>
  20. <druid.version>1.1.22</druid.version>
  21. <mysql.connector.version>8.0.20</mysql.connector.version>
  22. <mp.weixin.version>4.6.0</mp.weixin.version>
  23. <groovy.version>3.0.3</groovy.version>
  24. <security.oauth.version>2.3.6.RELEASE</security.oauth.version>
  25. <fastjson.version>1.2.69</fastjson.version>
  26. <commons-io.version>2.8.0</commons-io.version>
  27. <dm.version>8.1.2.192</dm.version>
  28. <highgo.version>6.2.0</highgo.version>
  29. <mysql.connector.version>8.0.33</mysql.connector.version>
  30. </properties>
  31. <dependencyManagement>
  32. <dependencies>
  33. <dependency>
  34. <groupId>com.qunzhixinxi</groupId>
  35. <artifactId>hnqz-common-core</artifactId>
  36. <version>${hnqz.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.qunzhixinxi</groupId>
  40. <artifactId>hnqz-common-data</artifactId>
  41. <version>${hnqz.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.qunzhixinxi</groupId>
  45. <artifactId>hnqz-common-gateway</artifactId>
  46. <version>${hnqz.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.qunzhixinxi</groupId>
  50. <artifactId>hnqz-common-gray</artifactId>
  51. <version>${hnqz.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.qunzhixinxi</groupId>
  55. <artifactId>hnqz-common-datasource</artifactId>
  56. <version>${hnqz.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.qunzhixinxi</groupId>
  60. <artifactId>hnqz-common-job</artifactId>
  61. <version>${hnqz.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.qunzhixinxi</groupId>
  65. <artifactId>hnqz-common-log</artifactId>
  66. <version>${hnqz.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.qunzhixinxi</groupId>
  70. <artifactId>hnqz-common-oss</artifactId>
  71. <version>${hnqz.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.qunzhixinxi</groupId>
  75. <artifactId>hnqz-common-security</artifactId>
  76. <version>${hnqz.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.qunzhixinxi</groupId>
  80. <artifactId>hnqz-common-sentinel</artifactId>
  81. <version>${hnqz.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.qunzhixinxi</groupId>
  85. <artifactId>hnqz-common-feign</artifactId>
  86. <version>${hnqz.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.qunzhixinxi</groupId>
  90. <artifactId>hnqz-common-sequence</artifactId>
  91. <version>${hnqz.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.qunzhixinxi</groupId>
  95. <artifactId>hnqz-common-mq</artifactId>
  96. <version>${hnqz.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.qunzhixinxi</groupId>
  100. <artifactId>hnqz-upms-api</artifactId>
  101. <version>${hnqz.version}</version>
  102. </dependency>
  103. <!--mybatis plus extension,包含了mybatis plus core-->
  104. <dependency>
  105. <groupId>com.baomidou</groupId>
  106. <artifactId>mybatis-plus-extension</artifactId>
  107. <version>${mybatis-plus.version}</version>
  108. </dependency>
  109. <!--mybatis-->
  110. <dependency>
  111. <groupId>com.baomidou</groupId>
  112. <artifactId>mybatis-plus-boot-starter</artifactId>
  113. <version>${mybatis-plus.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.baomidou</groupId>
  117. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  118. <version>${dynamic-ds.version}</version>
  119. </dependency>
  120. <!-- druid 连接池 -->
  121. <dependency>
  122. <groupId>com.alibaba</groupId>
  123. <artifactId>druid-spring-boot-starter</artifactId>
  124. <version>${druid.version}</version>
  125. </dependency>
  126. <!--mysql 驱动-->
  127. <dependency>
  128. <groupId>com.mysql</groupId>
  129. <artifactId>mysql-connector-j</artifactId>
  130. <version>${mysql.connector.version}</version>
  131. </dependency>
  132. <!--DM8-->
  133. <dependency>
  134. <groupId>com.dameng</groupId>
  135. <artifactId>DmJdbcDriver18</artifactId>
  136. <version>${dm.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.dameng</groupId>
  140. <artifactId>DmDialect-for-hibernate5.3</artifactId>
  141. <version>${dm.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.highgo</groupId>
  145. <artifactId>HgdbJdbc</artifactId>
  146. <version>${highgo.version}</version>
  147. </dependency>
  148. <!--fastjson-->
  149. <dependency>
  150. <groupId>com.alibaba</groupId>
  151. <artifactId>fastjson</artifactId>
  152. <version>${fastjson.version}</version>
  153. </dependency>
  154. <!-- io -->
  155. <dependency>
  156. <groupId>commons-io</groupId>
  157. <artifactId>commons-io</artifactId>
  158. <version>${commons-io.version}</version>
  159. </dependency>
  160. <!--微信依赖-->
  161. <dependency>
  162. <groupId>com.github.binarywang</groupId>
  163. <artifactId>weixin-java-mp</artifactId>
  164. <version>${mp.weixin.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.github.binarywang</groupId>
  168. <artifactId>weixin-java-common</artifactId>
  169. <version>${mp.weixin.version}</version>
  170. </dependency>
  171. <!--定义groovy 版本-->
  172. <dependency>
  173. <groupId>org.codehaus.groovy</groupId>
  174. <artifactId>groovy</artifactId>
  175. <version>${groovy.version}</version>
  176. </dependency>
  177. <!--稳定版本,替代spring security bom内置-->
  178. <dependency>
  179. <groupId>org.springframework.security.oauth</groupId>
  180. <artifactId>spring-security-oauth2</artifactId>
  181. <version>${security.oauth.version}</version>
  182. </dependency>
  183. </dependencies>
  184. </dependencyManagement>
  185. <build>
  186. <plugins>
  187. <!--避免和parent bom坐标不一致 -->
  188. <plugin>
  189. <groupId>com.pig4cloud.plugin</groupId>
  190. <artifactId>spring-cloud-maven-plugin</artifactId>
  191. <version>1.1.1</version>
  192. <executions>
  193. <execution>
  194. <phase>package</phase>
  195. <goals>
  196. <goal>info</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. <!-- nothing to do, but we need this to run docker:build form project root -->
  202. <plugin>
  203. <groupId>io.fabric8</groupId>
  204. <artifactId>docker-maven-plugin</artifactId>
  205. <version>0.32.0</version>
  206. <configuration>
  207. <skip>true</skip>
  208. </configuration>
  209. </plugin>
  210. <!--代码格式插件,默认使用spring 规则-->
  211. <plugin>
  212. <groupId>io.spring.javaformat</groupId>
  213. <artifactId>spring-javaformat-maven-plugin</artifactId>
  214. <version>0.0.22</version>
  215. </plugin>
  216. </plugins>
  217. </build>
  218. <pluginRepositories>
  219. <pluginRepository>
  220. <id>aliyun-plugin</id>
  221. <url>https://maven.aliyun.com/repository/public</url>
  222. <releases>
  223. <enabled>true</enabled>
  224. </releases>
  225. <snapshots>
  226. <enabled>false</enabled>
  227. </snapshots>
  228. </pluginRepository>
  229. </pluginRepositories>
  230. </project>