pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <parent>
  6. <artifactId>jeecg-cloud-module</artifactId>
  7. <groupId>org.jeecgframework.boot</groupId>
  8. <version>3.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>jeecg-cloud-gateway</artifactId>
  12. <dependencies>
  13. <!-- jeecg 微服务基础依赖-->
  14. <dependency>
  15. <groupId>org.jeecgframework.boot</groupId>
  16. <artifactId>jeecg-boot-starter-cloud</artifactId>
  17. <exclusions>
  18. <exclusion>
  19. <groupId>org.jeecgframework.boot</groupId>
  20. <artifactId>jeecg-system-cloud-api</artifactId>
  21. </exclusion>
  22. </exclusions>
  23. </dependency>
  24. <!-- spring-cloud网关-->
  25. <dependency>
  26. <groupId>org.springframework.cloud</groupId>
  27. <artifactId>spring-cloud-starter-gateway</artifactId>
  28. </dependency>
  29. <!--sentinel断路器依赖-->
  30. <dependency>
  31. <groupId>com.alibaba.cloud</groupId>
  32. <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba.cloud</groupId>
  36. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba.csp</groupId>
  40. <artifactId>sentinel-web-servlet</artifactId>
  41. </dependency>
  42. <!--Spring Webflux-->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-webflux</artifactId>
  46. </dependency>
  47. <!-- 熔断、降级 -->
  48. <dependency>
  49. <groupId>org.springframework.cloud</groupId>
  50. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.alibaba.cloud</groupId>
  54. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  55. </dependency>
  56. <!--健康监控-->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-actuator</artifactId>
  60. </dependency>
  61. <!-- 限流Redis实现 -->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  65. </dependency>
  66. <!--springboot2.X默认使用lettuce连接池,需要引入commons-pool2-->
  67. <dependency>
  68. <groupId>org.apache.commons</groupId>
  69. <artifactId>commons-pool2</artifactId>
  70. </dependency>
  71. <!--server-api-->
  72. <dependency>
  73. <groupId>javax.servlet</groupId>
  74. <artifactId>javax.servlet-api</artifactId>
  75. </dependency>
  76. <!-- Swagger API文档 -->
  77. <dependency>
  78. <groupId>com.github.xiaoymin</groupId>
  79. <artifactId>knife4j-spring-boot-starter</artifactId>
  80. <version>${knife4j-spring-boot-starter.version}</version>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. </plugin>
  89. </plugins>
  90. <resources>
  91. <resource>
  92. <directory>src/main/resources</directory>
  93. <filtering>true</filtering>
  94. </resource>
  95. </resources>
  96. </build>
  97. </project>