pom.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.5.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. <!-- 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-spring-boot-starter</artifactId>
  72. <version>${knife4j-spring-boot-starter.version}</version>
  73. </dependency>
  74. </dependencies>
  75. <build>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. </plugin>
  81. </plugins>
  82. <resources>
  83. <resource>
  84. <directory>src/main/resources</directory>
  85. <filtering>true</filtering>
  86. </resource>
  87. </resources>
  88. </build>
  89. </project>