pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.7.18</version>
  8. </parent>
  9. <groupId>com.txz</groupId>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>common</artifactId>
  12. <packaging>jar</packaging>
  13. <version>1.0.0-SNAPSHOT</version>
  14. <properties>
  15. <java.version>1.8</java.version>
  16. </properties>
  17. <!-- Inherit defaults from Spring Boot -->
  18. <dependencies>
  19. <!--异维科技web引擎依赖-->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-data-jpa</artifactId>
  27. </dependency>
  28. <!-- 替换undertow容器 -->
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-undertow</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-actuator</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.retry</groupId>
  43. <artifactId>spring-retry</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-aop</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>commons-lang</groupId>
  51. <artifactId>commons-lang</artifactId>
  52. <version>2.6</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-jdbc</artifactId>
  57. </dependency>
  58. <!--常用库依赖-->
  59. <dependency>
  60. <groupId>commons-codec</groupId>
  61. <artifactId>commons-codec</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-cache</artifactId>
  66. </dependency>
  67. <!--MySQL JDBC驱动-->
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. <version>8.0.33</version>
  72. <scope>runtime</scope>
  73. </dependency>
  74. <!--MyBatis 及 插件依赖 使用MyBatis-Plus替代原MyBatis相关依赖 -->
  75. <dependency>
  76. <groupId>org.mybatis</groupId>
  77. <artifactId>mybatis</artifactId>
  78. <version>3.5.10</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.mybatis</groupId>
  82. <artifactId>mybatis-spring</artifactId>
  83. <version>2.0.7</version>
  84. </dependency>
  85. <!-- 删除重复的MyBatis依赖声明 -->
  86. <dependency>
  87. <groupId>tk.mybatis</groupId>
  88. <artifactId>mapper</artifactId>
  89. <version>4.2.1</version>
  90. </dependency>
  91. <!-- 升级分页插件 -->
  92. <dependency>
  93. <groupId>com.github.pagehelper</groupId>
  94. <artifactId>pagehelper-spring-boot-starter</artifactId>
  95. <version>1.4.6</version>
  96. <exclusions>
  97. <!-- 排除可能引起冲突的旧版本jsqlparser -->
  98. <exclusion>
  99. <groupId>com.github.jsqlparser</groupId>
  100. <artifactId>jsqlparser</artifactId>
  101. </exclusion>
  102. <!-- 排除其中的mybatis依赖,避免版本冲突 -->
  103. <exclusion>
  104. <groupId>org.mybatis</groupId>
  105. <artifactId>mybatis</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>org.mybatis</groupId>
  109. <artifactId>mybatis-spring</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.github.jsqlparser</groupId>
  115. <artifactId>jsqlparser</artifactId>
  116. <version>4.4</version>
  117. </dependency>
  118. <!--阿里 FastJson依赖-->
  119. <dependency>
  120. <groupId>com.alibaba</groupId>
  121. <artifactId>fastjson</artifactId>
  122. <version>1.2.69</version>
  123. </dependency>
  124. <!--代码生成器依赖-->
  125. <dependency>
  126. <groupId>org.freemarker</groupId>
  127. <artifactId>freemarker</artifactId>
  128. <version>2.3.23</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.mybatis.generator</groupId>
  132. <artifactId>mybatis-generator-core</artifactId>
  133. <version>1.3.5</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.baomidou</groupId>
  137. <artifactId>mybatis-plus-boot-starter</artifactId>
  138. <version>3.5.3</version>
  139. <exclusions>
  140. <!-- 排除可能引起冲突的旧版本jsqlparser -->
  141. <exclusion>
  142. <groupId>com.github.jsqlparser</groupId>
  143. <artifactId>jsqlparser</artifactId>
  144. </exclusion>
  145. </exclusions>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.alibaba</groupId>
  149. <artifactId>easyexcel</artifactId>
  150. <version>3.3.2</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.github.misterchangray.mybatis.generator.plugins</groupId>
  154. <artifactId>myBatisGeneratorPlugins</artifactId>
  155. <version>1.2</version>
  156. </dependency>
  157. <!-- Swagger统一使用Spring4All管理 -->
  158. <dependency>
  159. <groupId>com.spring4all</groupId>
  160. <artifactId>swagger-spring-boot-starter</artifactId>
  161. <version>1.8.0.RELEASE</version>
  162. <scope>compile</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework.cloud</groupId>
  166. <artifactId>spring-cloud-starter-openfeign</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.apache.dubbo</groupId>
  170. <artifactId>dubbo-nacos-spring-boot-starter</artifactId>
  171. <version>3.3.0</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.apache.poi</groupId>
  175. <artifactId>poi-ooxml</artifactId>
  176. <version>4.1.2</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.projectlombok</groupId>
  180. <artifactId>lombok</artifactId>
  181. <version>1.18.10</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.apache.rocketmq</groupId>
  185. <artifactId>rocketmq-spring-boot-starter</artifactId>
  186. <version>2.3.1</version>
  187. </dependency>
  188. <!-- Dubbo Spring Boot Starter(升级为3.3.0) -->
  189. <dependency>
  190. <groupId>org.apache.dubbo</groupId>
  191. <artifactId>dubbo-spring-boot-starter</artifactId>
  192. <version>3.3.0</version>
  193. </dependency>
  194. <!-- dubbo序列化方式 -->
  195. <!-- <dependency> -->
  196. <!-- <groupId>com.esotericsoftware</groupId> -->
  197. <!-- <artifactId>kryo</artifactId> -->
  198. <!-- <version>4.0.2</version> -->
  199. <!-- </dependency> -->
  200. <!-- <dependency> -->
  201. <!-- <groupId>de.javakaffee</groupId> -->
  202. <!-- <artifactId>kryo-serializers</artifactId> -->
  203. <!-- <version>0.45</version> -->
  204. <!-- </dependency> -->
  205. <!-- Nacos客户端(适配Dubbo 3.3.0,升级为2.5.0) -->
  206. <!-- <dependency> -->
  207. <!-- <groupId>com.alibaba.nacos</groupId> -->
  208. <!-- <artifactId>nacos-client</artifactId> -->
  209. <!-- <version>2.5.0</version> -->
  210. <!-- <exclusions> -->
  211. <!-- <exclusion> -->
  212. <!-- <groupId>com.google.guava</groupId> -->
  213. <!-- <artifactId>guava</artifactId> -->
  214. <!-- </exclusion> -->
  215. <!-- </exclusions> -->
  216. <!-- </dependency> -->
  217. </dependencies>
  218. <distributionManagement>
  219. <snapshotRepository>
  220. <id>nexus-snapshots</id>
  221. <name>Nexus Snapshot Repository</name>
  222. <url>http://124.220.229.80:9091/repository/maven-snapshots/</url>
  223. </snapshotRepository>
  224. <repository>
  225. <id>nexus-releases</id>
  226. <name>Nexus Release Repository</name>
  227. <url>http://124.220.229.80:9091/repository/maven-releases/</url>
  228. </repository>
  229. </distributionManagement>
  230. <dependencyManagement>
  231. <dependencies>
  232. <dependency>
  233. <groupId>org.springframework.cloud</groupId>
  234. <artifactId>spring-cloud-dependencies</artifactId>
  235. <version>2021.0.8</version>
  236. <type>pom</type>
  237. <scope>import</scope>
  238. </dependency>
  239. <dependency>
  240. <groupId>com.alibaba.cloud</groupId>
  241. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  242. <version>2021.0.5.0</version>
  243. <type>pom</type>
  244. <scope>import</scope>
  245. </dependency>
  246. </dependencies>
  247. </dependencyManagement>
  248. <build>
  249. <plugins>
  250. <plugin>
  251. <groupId>org.springframework.boot</groupId>
  252. <artifactId>spring-boot-maven-plugin</artifactId>
  253. <configuration>
  254. <classifier>exec</classifier>
  255. </configuration>
  256. <executions>
  257. <execution>
  258. <goals>
  259. <goal>repackage</goal>
  260. </goals>
  261. </execution>
  262. </executions>
  263. </plugin>
  264. <plugin>
  265. <artifactId>maven-compiler-plugin</artifactId>
  266. <configuration>
  267. <source>${java.version}</source>
  268. <target>${java.version}</target>
  269. <encoding>UTF-8</encoding>
  270. </configuration>
  271. </plugin>
  272. </plugins>
  273. </build>
  274. </project>