pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  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>com.txz</groupId>
  7. <artifactId>gateway</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. </properties>
  13. <!-- Inherit defaults from Spring Boot -->
  14. <parent>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-parent</artifactId>
  17. <version>2.7.18</version>
  18. </parent>
  19. <dependencies>
  20. <!--Spring Boot依赖-->
  21. <dependency>
  22. <groupId>com.txz</groupId>
  23. <artifactId>operating-api</artifactId>
  24. <version>1.0.0-SNAPSHOT</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-actuator</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.txz</groupId>
  32. <artifactId>cif-api</artifactId>
  33. <version>1.0.0-SNAPSHOT</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.txz</groupId>
  37. <artifactId>common</artifactId>
  38. <version>1.0.0-SNAPSHOT</version>
  39. </dependency>
  40. <!-- <dependency> -->
  41. <!-- <groupId>org.springframework.boot</groupId> -->
  42. <!-- <artifactId>spring-boot-starter-web</artifactId> -->
  43. <!-- &lt;!&ndash; 移除tomcat容器&ndash;&gt; -->
  44. <!-- <exclusions> -->
  45. <!-- <exclusion> -->
  46. <!-- <groupId>org.springframework.boot</groupId> -->
  47. <!-- <artifactId>spring-boot-starter-tomcat</artifactId> -->
  48. <!-- </exclusion> -->
  49. <!-- </exclusions> -->
  50. <!-- </dependency> -->
  51. <!-- &lt;!&ndash; 替换undertow容器 &ndash;&gt; -->
  52. <!-- <dependency> -->
  53. <!-- <groupId>org.springframework.boot</groupId> -->
  54. <!-- <artifactId>spring-boot-starter-undertow</artifactId> -->
  55. <!-- </dependency> -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-webflux</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>cn.hutool</groupId>
  66. <artifactId>hutool-all</artifactId>
  67. <version>RELEASE</version>
  68. <scope>compile</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.retry</groupId>
  72. <artifactId>spring-retry</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-aop</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.cloud</groupId>
  80. <artifactId>spring-cloud-starter-openfeign</artifactId>
  81. <!-- <version>1.4.3.RELEASE</version>-->
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alibaba.cloud</groupId>
  85. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  86. <version>2.2.9.RELEASE</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba.cloud</groupId>
  90. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  91. <version>2.2.9.RELEASE</version>
  92. </dependency>
  93. <!--redis依赖-->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-jdbc</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-test</artifactId>
  101. <scope>test</scope>
  102. </dependency>
  103. <!-- <dependency> -->
  104. <!-- <groupId>org.springframework.cloud</groupId> -->
  105. <!-- <artifactId>spring-cloud-starter-zipkin</artifactId> -->
  106. <!-- <version>2.1.7.RELEASE</version> -->
  107. <!-- </dependency> -->
  108. <!--
  109. <dependency>
  110. <groupId>org.springframework.cloud</groupId>
  111. <artifactId>spring-cloud-starter-netflix-zuul</artifactId>
  112. <version>2.2.10.RELEASE</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.netflix.zuul</groupId>
  116. <artifactId>zuul-core</artifactId>
  117. <version>1.3.1</version>
  118. </dependency>
  119. -->
  120. <!--常用库依赖-->
  121. <dependency>
  122. <groupId>commons-codec</groupId>
  123. <artifactId>commons-codec</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.commons</groupId>
  127. <artifactId>commons-lang3</artifactId>
  128. <version>3.5</version>
  129. </dependency>
  130. <!-- <dependency>-->
  131. <!-- <groupId>com.google.guava</groupId>-->
  132. <!-- <artifactId>guava</artifactId>-->
  133. <!-- <version>18.0</version>-->
  134. <!-- </dependency>-->
  135. <dependency>
  136. <groupId>javax.servlet</groupId>
  137. <artifactId>javax.servlet-api</artifactId>
  138. <version>3.1.0</version>
  139. <scope>provided</scope>
  140. </dependency>
  141. <!--MySQL JDBC驱动-->
  142. <dependency>
  143. <groupId>mysql</groupId>
  144. <artifactId>mysql-connector-java</artifactId>
  145. <version>8.0.33</version>
  146. <scope>runtime</scope>
  147. </dependency>
  148. <!--MyBatis 及 插件依赖-->
  149. <dependency>
  150. <groupId>org.mybatis</groupId>
  151. <artifactId>mybatis-spring</artifactId>
  152. <!-- <version>1.3.1</version>-->
  153. <version>2.0.1</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.mybatis</groupId>
  157. <artifactId>mybatis</artifactId>
  158. <version>3.4.4</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>tk.mybatis</groupId>
  162. <artifactId>mapper</artifactId>
  163. <version>3.4.0</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.github.pagehelper</groupId>
  167. <artifactId>pagehelper-spring-boot-starter</artifactId>
  168. <version>1.2.3</version>
  169. </dependency>
  170. <!--阿里 FastJson依赖-->
  171. <dependency>
  172. <groupId>com.alibaba</groupId>
  173. <artifactId>fastjson</artifactId>
  174. <!-- <version>1.2.22</version>-->
  175. <version>1.2.58</version>
  176. </dependency>
  177. <!--代码生成器依赖-->
  178. <dependency>
  179. <groupId>org.freemarker</groupId>
  180. <artifactId>freemarker</artifactId>
  181. <version>2.3.23</version>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.mybatis.generator</groupId>
  186. <artifactId>mybatis-generator-core</artifactId>
  187. <version>1.3.5</version>
  188. <scope>test</scope>
  189. </dependency>
  190. <!-- <dependency> -->
  191. <!-- <groupId>org.apache.dubbo</groupId> -->
  192. <!-- <artifactId>dubbo-spring-boot-starter</artifactId> -->
  193. <!-- <version>3.0.10</version> -->
  194. <!-- </dependency> -->
  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. <dependency>
  206. <groupId>org.apache.dubbo.extensions</groupId>
  207. <artifactId>dubbo-serialization-kryo</artifactId>
  208. <version>1.0.1</version>
  209. </dependency>
  210. <!-- Dubbo -->
  211. <!-- <dependency> -->
  212. <!-- <groupId>org.apache.dubbo</groupId> -->
  213. <!-- <artifactId>dubbo</artifactId> -->
  214. <!-- <version>3.0.10</version> -->
  215. <!-- </dependency> -->
  216. <!-- <dependency> -->
  217. <!-- <groupId>org.apache.dubbo</groupId> -->
  218. <!-- <artifactId>dubbo-serialization-kryo</artifactId> -->
  219. <!-- <version>2.7.9</version> -->
  220. <!-- </dependency> -->
  221. <!-- Dubbo Registry Nacos -->
  222. <!-- <dependency> -->
  223. <!-- <groupId>org.apache.dubbo</groupId> -->
  224. <!-- <artifactId>dubbo-registry-nacos</artifactId> -->
  225. <!-- <version>3.0.10</version> -->
  226. <!-- </dependency> -->
  227. <!-- <dependency> -->
  228. <!-- <groupId>com.alibaba.nacos</groupId> -->
  229. <!-- <artifactId>nacos-client</artifactId> -->
  230. <!-- <exclusions> -->
  231. <!-- <exclusion> -->
  232. <!-- <groupId>com.google.guava</groupId> -->
  233. <!-- <artifactId>guava</artifactId> -->
  234. <!-- </exclusion> -->
  235. <!-- </exclusions> -->
  236. <!-- </dependency> -->
  237. <!-- swagger2 -->
  238. <!-- <dependency> -->
  239. <!-- <groupId>io.springfox</groupId> -->
  240. <!-- <artifactId>springfox-swagger2</artifactId> -->
  241. <!-- <version>2.9.2</version> -->
  242. <!-- </dependency> -->
  243. <!-- <dependency> -->
  244. <!-- <groupId>io.springfox</groupId> -->
  245. <!-- <artifactId>springfox-swagger-ui</artifactId> -->
  246. <!-- <version>2.9.2</version> -->
  247. <!-- </dependency> -->
  248. <!-- <dependency> -->
  249. <!-- <groupId>com.github.xiaoymin</groupId> -->
  250. <!-- <artifactId>swagger-bootstrap-ui</artifactId> -->
  251. <!-- <version>1.8.5</version> -->
  252. <!-- </dependency> -->
  253. <!-- swagger2 皮肤 -->
  254. <!-- <dependency> -->
  255. <!-- <groupId>com.github.caspar-chen</groupId> -->
  256. <!-- <artifactId>swagger-ui-layer</artifactId> -->
  257. <!-- <version>1.1.2</version> -->
  258. <!-- </dependency> -->
  259. <!-- <dependency> -->
  260. <!-- <groupId>com.spring4all</groupId> -->
  261. <!-- <artifactId>swagger-spring-boot-starter</artifactId> -->
  262. <!-- <version>1.8.0.RELEASE</version> -->
  263. <!-- <scope>compile</scope> -->
  264. <!-- </dependency> -->
  265. <dependency>
  266. <groupId>org.springframework.boot</groupId>
  267. <artifactId>spring-boot-starter-test</artifactId>
  268. <scope>test</scope>
  269. </dependency>
  270. <dependency>
  271. <groupId>junit</groupId>
  272. <artifactId>junit</artifactId>
  273. <version>4.13.2</version>
  274. <scope>test</scope>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.springdoc</groupId>
  278. <artifactId>springdoc-openapi-ui</artifactId>
  279. <version>1.6.14</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>io.jsonwebtoken</groupId>
  283. <artifactId>jjwt</artifactId>
  284. <version>0.9.1</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.projectlombok</groupId>
  288. <artifactId>lombok</artifactId>
  289. </dependency>
  290. <dependency>
  291. <groupId>org.springframework.cloud</groupId>
  292. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  293. </dependency>
  294. <dependency>
  295. <groupId>org.springframework.cloud</groupId>
  296. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.springframework.cloud</groupId>
  300. <artifactId>spring-cloud-starter-gateway</artifactId>
  301. </dependency>
  302. <dependency>
  303. <groupId>org.springframework.cloud</groupId>
  304. <artifactId>spring-cloud-starter-circuitbreaker-reactor-resilience4j</artifactId>
  305. </dependency>
  306. <dependency>
  307. <groupId>io.grpc</groupId>
  308. <artifactId>grpc-netty</artifactId>
  309. <version>1.56.1</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>io.grpc</groupId>
  313. <artifactId>grpc-protobuf</artifactId>
  314. <version>1.56.1</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>io.grpc</groupId>
  318. <artifactId>grpc-stub</artifactId>
  319. <version>1.56.1</version>
  320. </dependency>
  321. </dependencies>
  322. <dependencyManagement>
  323. <dependencies>
  324. <dependency>
  325. <groupId>org.springframework.cloud</groupId>
  326. <artifactId>spring-cloud-dependencies</artifactId>
  327. <version>2021.0.8</version>
  328. <type>pom</type>
  329. <scope>import</scope>
  330. </dependency>
  331. <dependency>
  332. <groupId>com.alibaba.cloud</groupId>
  333. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  334. <version>2021.0.5.0</version>
  335. <type>pom</type>
  336. <scope>import</scope>
  337. </dependency>
  338. </dependencies>
  339. </dependencyManagement>
  340. <build>
  341. <plugins>
  342. <plugin>
  343. <groupId>org.springframework.boot</groupId>
  344. <artifactId>spring-boot-maven-plugin</artifactId>
  345. <configuration>
  346. <finalName>gateway</finalName>
  347. </configuration>
  348. </plugin>
  349. <plugin>
  350. <artifactId>maven-compiler-plugin</artifactId>
  351. <configuration>
  352. <source>${java.version}</source>
  353. <target>${java.version}</target>
  354. <encoding>UTF-8</encoding>
  355. </configuration>
  356. </plugin>
  357. </plugins>
  358. </build>
  359. <distributionManagement>
  360. <snapshotRepository>
  361. <id>nexus-snapshots</id>
  362. <name>Nexus Snapshot Repository</name>
  363. <url>http://124.220.229.80:9091/repository/maven-snapshots/</url>
  364. <!-- 删除uniqueVersion和layout,使用默认值即可 -->
  365. </snapshotRepository>
  366. <repository>
  367. <id>nexus-releases</id>
  368. <name>Nexus Release Repository</name>
  369. <url>http://124.220.229.80:9091/repository/maven-releases/</url>
  370. </repository>
  371. </distributionManagement>
  372. </project>