机构基础架构
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

269 lines
11 KiB

11 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.iec</groupId>
  6. <artifactId>iec-yyjh-common-bom</artifactId>
  7. <version>${revision}</version>
  8. <packaging>pom</packaging>
  9. <name>iec-yyjh-common-bom</name>
  10. <url>pig cloud parent</url>
  11. <description>pig cloud parent</description>
  12. <properties>
  13. <revision>1.0-SNAPSHOT</revision>
  14. <spring-boot.version>2.7.18</spring-boot.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <log4j2.version>2.17.1</log4j2.version>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. <fastjson.version>1.2.83</fastjson.version>
  20. <springdoc.version>1.6.9</springdoc.version>
  21. <swagger.core.version>2.2.0</swagger.core.version>
  22. <mybatis-plus.version>3.5.7</mybatis-plus.version>
  23. <dynamic-ds.version>4.3.1</dynamic-ds.version>
  24. <mysql.version>8.0.33</mysql.version>
  25. <seata.version>1.6.1</seata.version>
  26. <excel.version>1.2.6</excel.version>
  27. <asm.version>7.1</asm.version>
  28. <aws.version>1.11.543</aws.version>
  29. <oss.version>1.0.5</oss.version>
  30. <sms.version>2.0.2</sms.version>
  31. <jaxb.version>2.3.5</jaxb.version>
  32. <hutool.version>5.8.29</hutool.version>
  33. <mica.version>2.7.4</mica.version>
  34. <sentinel.version>1.8.4</sentinel.version>
  35. <git.commit.plugin>4.9.9</git.commit.plugin>
  36. <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
  37. <spring.checkstyle.plugin>0.0.39</spring.checkstyle.plugin>
  38. </properties>
  39. <!-- 定义全局jar版本,模块使用需但要再次引入不用写版本号-->
  40. <dependencyManagement>
  41. <dependencies>
  42. <dependency>
  43. <groupId>com.iec</groupId>
  44. <artifactId>iec-yyjh-common-core</artifactId>
  45. <version>${revision}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.iec</groupId>
  49. <artifactId>iec-yyjh-common-datasource</artifactId>
  50. <version>${revision}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.iec</groupId>
  54. <artifactId>iec-yyjh-common-job</artifactId>
  55. <version>${revision}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.iec</groupId>
  59. <artifactId>iec-yyjh-common-log</artifactId>
  60. <version>${revision}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.iec</groupId>
  64. <artifactId>iec-yyjh-common-mybatis</artifactId>
  65. <version>${revision}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.iec</groupId>
  69. <artifactId>iec-yyjh-common-security</artifactId>
  70. <version>${revision}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.iec</groupId>
  74. <artifactId>iec-yyjh-common-feign</artifactId>
  75. <version>${revision}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.iec</groupId>
  79. <artifactId>iec-yyjh-common-swagger</artifactId>
  80. <version>${revision}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.iec</groupId>
  84. <artifactId>iec-yyjh-common-seata</artifactId>
  85. <version>${revision}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.iec</groupId>
  89. <artifactId>iec-yyjh-common-xss</artifactId>
  90. <version>${revision}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.iec</groupId>
  94. <artifactId>iec-yyjh-common-oss</artifactId>
  95. <version>${revision}</version>
  96. </dependency>
  97. <!--<dependency>
  98. <groupId>com.iec</groupId>
  99. <artifactId>iec-yyjh-upms-api</artifactId>
  100. <version>${revision}</version>
  101. </dependency>-->
  102. <dependency>
  103. <groupId>com.mysql</groupId>
  104. <artifactId>mysql-connector-j</artifactId>
  105. <version>${mysql.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springdoc</groupId>
  109. <artifactId>springdoc-openapi-ui</artifactId>
  110. <version>${springdoc.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springdoc</groupId>
  114. <artifactId>springdoc-openapi-webmvc-core</artifactId>
  115. <version>${springdoc.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.swagger.core.v3</groupId>
  119. <artifactId>swagger-annotations</artifactId>
  120. <version>${swagger.core.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springdoc</groupId>
  124. <artifactId>springdoc-openapi-webflux-ui</artifactId>
  125. <version>${springdoc.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.springdoc</groupId>
  129. <artifactId>springdoc-openapi-security</artifactId>
  130. <version>${springdoc.version}</version>
  131. </dependency>
  132. <!--fastjson 版本-->
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>fastjson</artifactId>
  136. <version>${fastjson.version}</version>
  137. </dependency>
  138. <!-- excel 导入导出 -->
  139. <dependency>
  140. <groupId>com.pig4cloud.excel</groupId>
  141. <artifactId>excel-spring-boot-starter</artifactId>
  142. <version>${excel.version}</version>
  143. </dependency>
  144. <!--动态数据源组件-->
  145. <dependency>
  146. <groupId>com.baomidou</groupId>
  147. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  148. <version>${dynamic-ds.version}</version>
  149. </dependency>
  150. <!-- S3 sdk -->
  151. <dependency>
  152. <groupId>com.amazonaws</groupId>
  153. <artifactId>aws-java-sdk-s3</artifactId>
  154. <version>${aws.version}</version>
  155. </dependency>
  156. <!-- 阿里云短信下发 -->
  157. <dependency>
  158. <groupId>io.springboot.sms</groupId>
  159. <artifactId>aliyun-sms-spring-boot-starter</artifactId>
  160. <version>${sms.version}</version>
  161. </dependency>
  162. <!--oss-->
  163. <dependency>
  164. <groupId>com.pig4cloud.plugin</groupId>
  165. <artifactId>oss-spring-boot-starter</artifactId>
  166. <version>${oss.version}</version>
  167. </dependency>
  168. <!-- seata kryo 序列化-->
  169. <dependency>
  170. <groupId>io.seata</groupId>
  171. <artifactId>seata-serializer-kryo</artifactId>
  172. <version>${seata.version}</version>
  173. </dependency>
  174. <!--orm 相关-->
  175. <dependency>
  176. <groupId>com.baomidou</groupId>
  177. <artifactId>mybatis-plus-boot-starter</artifactId>
  178. <version>${mybatis-plus.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.baomidou</groupId>
  182. <artifactId>mybatis-plus-extension</artifactId>
  183. <version>${mybatis-plus.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.baomidou</groupId>
  187. <artifactId>mybatis-plus-annotation</artifactId>
  188. <version>${mybatis-plus.version}</version>
  189. </dependency>
  190. <!--hutool bom 工具类-->
  191. <dependency>
  192. <groupId>cn.hutool</groupId>
  193. <artifactId>hutool-bom</artifactId>
  194. <version>${hutool.version}</version>
  195. <type>pom</type>
  196. <scope>import</scope>
  197. </dependency>
  198. <!--mica bom 工具类-->
  199. <dependency>
  200. <groupId>net.dreamlu</groupId>
  201. <artifactId>mica-bom</artifactId>
  202. <version>${mica.version}</version>
  203. <type>pom</type>
  204. <scope>import</scope>
  205. </dependency>
  206. <!--web 模块-->
  207. <dependency>
  208. <groupId>org.springframework.boot</groupId>
  209. <artifactId>spring-boot-starter-web</artifactId>
  210. <version>${spring-boot.version}</version>
  211. <exclusions>
  212. <!--排除tomcat依赖-->
  213. <exclusion>
  214. <artifactId>spring-boot-starter-tomcat</artifactId>
  215. <groupId>org.springframework.boot</groupId>
  216. </exclusion>
  217. </exclusions>
  218. </dependency>
  219. </dependencies>
  220. </dependencyManagement>
  221. <build>
  222. <plugins>
  223. <!-- 统一 revision 版本 -->
  224. <plugin>
  225. <groupId>org.codehaus.mojo</groupId>
  226. <artifactId>flatten-maven-plugin</artifactId>
  227. <version>${flatten-maven-plugin.version}</version>
  228. <configuration>
  229. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  230. <updatePomFile>true</updatePomFile>
  231. </configuration>
  232. <executions>
  233. <execution>
  234. <id>flatten</id>
  235. <phase>process-resources</phase>
  236. <goals>
  237. <goal>flatten</goal>
  238. </goals>
  239. </execution>
  240. <execution>
  241. <id>flatten.clean</id>
  242. <phase>clean</phase>
  243. <goals>
  244. <goal>clean</goal>
  245. </goals>
  246. </execution>
  247. </executions>
  248. </plugin>
  249. <!--打包jar 与git commit 关联插件-->
  250. <plugin>
  251. <groupId>io.github.git-commit-id</groupId>
  252. <artifactId>git-commit-id-maven-plugin</artifactId>
  253. <version>${git.commit.plugin}</version>
  254. </plugin>
  255. <!--代码格式插件,默认使用spring 规则-->
  256. <plugin>
  257. <groupId>io.spring.javaformat</groupId>
  258. <artifactId>spring-javaformat-maven-plugin</artifactId>
  259. <version>${spring.checkstyle.plugin}</version>
  260. </plugin>
  261. </plugins>
  262. </build>
  263. </project>