pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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-spring</artifactId>
  78. <version>2.0.1</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.mybatis</groupId>
  82. <artifactId>mybatis</artifactId>
  83. <version>3.4.4</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>tk.mybatis</groupId>
  87. <artifactId>mapper</artifactId>
  88. <version>3.4.0</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mybatis.spring.boot</groupId>
  92. <artifactId>mybatis-spring-boot-starter</artifactId>
  93. <version>2.0.1</version>
  94. </dependency>
  95. <!-- 升级分页插件 -->
  96. <dependency>
  97. <groupId>com.github.pagehelper</groupId>
  98. <artifactId>pagehelper-spring-boot-starter</artifactId>
  99. <version>1.2.3</version>
  100. </dependency>
  101. <!--阿里 FastJson依赖-->
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>fastjson</artifactId>
  105. <version>1.2.69</version>
  106. </dependency>
  107. <!--代码生成器依赖-->
  108. <dependency>
  109. <groupId>org.freemarker</groupId>
  110. <artifactId>freemarker</artifactId>
  111. <version>2.3.23</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.mybatis.generator</groupId>
  115. <artifactId>mybatis-generator-core</artifactId>
  116. <version>1.3.5</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.baomidou</groupId>
  120. <artifactId>mybatis-plus-boot-starter</artifactId>
  121. <version>3.4.2</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.alibaba</groupId>
  125. <artifactId>easyexcel</artifactId>
  126. <version>3.3.2</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.github.misterchangray.mybatis.generator.plugins</groupId>
  130. <artifactId>myBatisGeneratorPlugins</artifactId>
  131. <version>1.2</version>
  132. </dependency>
  133. <!-- Swagger统一使用Spring4All管理 -->
  134. <dependency>
  135. <groupId>com.spring4all</groupId>
  136. <artifactId>swagger-spring-boot-starter</artifactId>
  137. <version>1.8.0.RELEASE</version>
  138. <scope>compile</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework.cloud</groupId>
  142. <artifactId>spring-cloud-starter-openfeign</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.dubbo</groupId>
  146. <artifactId>dubbo-nacos-spring-boot-starter</artifactId>
  147. <version>3.3.0</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.poi</groupId>
  151. <artifactId>poi-ooxml</artifactId>
  152. <version>4.1.2</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.projectlombok</groupId>
  156. <artifactId>lombok</artifactId>
  157. <version>1.18.10</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.apache.rocketmq</groupId>
  161. <artifactId>rocketmq-spring-boot-starter</artifactId>
  162. <version>2.3.1</version>
  163. </dependency>
  164. <!-- Dubbo Spring Boot Starter(升级为3.3.0) -->
  165. <dependency>
  166. <groupId>org.apache.dubbo</groupId>
  167. <artifactId>dubbo-spring-boot-starter</artifactId>
  168. <version>3.3.0</version>
  169. </dependency>
  170. <!-- dubbo序列化方式 -->
  171. <!-- <dependency> -->
  172. <!-- <groupId>com.esotericsoftware</groupId> -->
  173. <!-- <artifactId>kryo</artifactId> -->
  174. <!-- <version>4.0.2</version> -->
  175. <!-- </dependency> -->
  176. <!-- <dependency> -->
  177. <!-- <groupId>de.javakaffee</groupId> -->
  178. <!-- <artifactId>kryo-serializers</artifactId> -->
  179. <!-- <version>0.45</version> -->
  180. <!-- </dependency> -->
  181. <!-- Nacos客户端(适配Dubbo 3.3.0,升级为2.5.0) -->
  182. <!-- <dependency> -->
  183. <!-- <groupId>com.alibaba.nacos</groupId> -->
  184. <!-- <artifactId>nacos-client</artifactId> -->
  185. <!-- <version>2.5.0</version> -->
  186. <!-- <exclusions> -->
  187. <!-- <exclusion> -->
  188. <!-- <groupId>com.google.guava</groupId> -->
  189. <!-- <artifactId>guava</artifactId> -->
  190. <!-- </exclusion> -->
  191. <!-- </exclusions> -->
  192. <!-- </dependency> -->
  193. </dependencies>
  194. <distributionManagement>
  195. <snapshotRepository>
  196. <id>nexus-snapshots</id>
  197. <name>Nexus Snapshot Repository</name>
  198. <url>http://124.220.229.80:9091/repository/maven-snapshots/</url>
  199. </snapshotRepository>
  200. <repository>
  201. <id>nexus-releases</id>
  202. <name>Nexus Release Repository</name>
  203. <url>http://124.220.229.80:9091/repository/maven-releases/</url>
  204. </repository>
  205. </distributionManagement>
  206. <dependencyManagement>
  207. <dependencies>
  208. <dependency>
  209. <groupId>org.springframework.cloud</groupId>
  210. <artifactId>spring-cloud-dependencies</artifactId>
  211. <version>2021.0.8</version>
  212. <type>pom</type>
  213. <scope>import</scope>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.alibaba.cloud</groupId>
  217. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  218. <version>2021.0.5.0</version>
  219. <type>pom</type>
  220. <scope>import</scope>
  221. </dependency>
  222. </dependencies>
  223. </dependencyManagement>
  224. <build>
  225. <plugins>
  226. <plugin>
  227. <groupId>org.springframework.boot</groupId>
  228. <artifactId>spring-boot-maven-plugin</artifactId>
  229. <configuration>
  230. <classifier>exec</classifier>
  231. </configuration>
  232. <executions>
  233. <execution>
  234. <goals>
  235. <goal>repackage</goal>
  236. </goals>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. <plugin>
  241. <artifactId>maven-compiler-plugin</artifactId>
  242. <configuration>
  243. <source>${java.version}</source>
  244. <target>${java.version}</target>
  245. <encoding>UTF-8</encoding>
  246. </configuration>
  247. </plugin>
  248. </plugins>
  249. </build>
  250. </project>