pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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-server-cloud</artifactId>
  7. <groupId>org.jeecgframework.boot</groupId>
  8. <version>3.6.3</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. <!-- Gateway网关依赖,内置webflux-->
  25. <dependency>
  26. <groupId>org.springframework.cloud</groupId>
  27. <artifactId>spring-cloud-starter-gateway</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>javax.servlet</groupId>
  31. <artifactId>javax.servlet-api</artifactId>
  32. </dependency>
  33. <!-- redis方式限流 -->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  37. </dependency>
  38. <!--sentinel 限流熔点降级-->
  39. <dependency>
  40. <groupId>com.alibaba.cloud</groupId>
  41. <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.alibaba.cloud</groupId>
  45. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  46. <exclusions>
  47. <exclusion>
  48. <artifactId>fastjson</artifactId>
  49. <groupId>com.alibaba</groupId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <!-- sentinel集成nacos作为数据源 -->
  54. <dependency>
  55. <groupId>com.alibaba.csp</groupId>
  56. <artifactId>sentinel-datasource-nacos</artifactId>
  57. </dependency>
  58. <!--- sentinel流控链路不生效 -->
  59. <dependency>
  60. <groupId>com.alibaba.csp</groupId>
  61. <artifactId>sentinel-web-servlet</artifactId>
  62. </dependency>
  63. <!--健康监控-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-actuator</artifactId>
  67. </dependency>
  68. <!-- Swagger API文档 -->
  69. <dependency>
  70. <groupId>com.github.xiaoymin</groupId>
  71. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  72. <version>${knife4j-spring-boot-starter.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.commons</groupId>
  76. <artifactId>commons-lang3</artifactId>
  77. <version>3.12.0</version>
  78. </dependency>
  79. </dependencies>
  80. <build>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-maven-plugin</artifactId>
  85. </plugin>
  86. </plugins>
  87. <resources>
  88. <resource>
  89. <directory>src/main/resources</directory>
  90. <filtering>true</filtering>
  91. </resource>
  92. </resources>
  93. </build>
  94. </project>