pom.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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.4.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. </dependency>
  47. <!-- sentinel集成nacos作为数据源 -->
  48. <dependency>
  49. <groupId>com.alibaba.csp</groupId>
  50. <artifactId>sentinel-datasource-nacos</artifactId>
  51. </dependency>
  52. <!--- sentinel流控链路不生效 -->
  53. <dependency>
  54. <groupId>com.alibaba.csp</groupId>
  55. <artifactId>sentinel-web-servlet</artifactId>
  56. </dependency>
  57. <!--健康监控-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-actuator</artifactId>
  61. </dependency>
  62. <!-- Swagger API文档 -->
  63. <dependency>
  64. <groupId>com.github.xiaoymin</groupId>
  65. <artifactId>knife4j-spring-boot-starter</artifactId>
  66. <version>${knife4j-spring-boot-starter.version}</version>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>
  75. </plugins>
  76. <resources>
  77. <resource>
  78. <directory>src/main/resources</directory>
  79. <filtering>true</filtering>
  80. </resource>
  81. </resources>
  82. </build>
  83. </project>