pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.platomix</groupId>
  7. <artifactId>platomix-pom</artifactId>
  8. <version>1.1.4</version>
  9. <relativePath />
  10. </parent>
  11. <artifactId>platomix-gmetry-openfeign</artifactId>
  12. <version>1.1.8</version>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.platomix</groupId>
  16. <artifactId>platomix-gmetry-common</artifactId>
  17. <version>1.1.8</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.cloud</groupId>
  21. <artifactId>spring-cloud-starter-openfeign</artifactId>
  22. </dependency>
  23. <!-- okhttp 扩展 -->
  24. <dependency>
  25. <groupId>io.github.openfeign</groupId>
  26. <artifactId>feign-okhttp</artifactId>
  27. </dependency>
  28. <!-- circuitbreaker -->
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-starter-circuitbreaker-resilience4j</artifactId>
  32. <exclusions>
  33. <!-- 禁用指标统计 -->
  34. <exclusion>
  35. <groupId>io.github.resilience4j</groupId>
  36. <artifactId>resilience4j-micrometer</artifactId>
  37. </exclusion>
  38. <!-- 禁用重试 -->
  39. <exclusion>
  40. <groupId>io.github.resilience4j</groupId>
  41. <artifactId>resilience4j-retry</artifactId>
  42. </exclusion>
  43. <!-- 禁用限流 -->
  44. <exclusion>
  45. <groupId>io.github.resilience4j</groupId>
  46. <artifactId>resilience4j-ratelimiter</artifactId>
  47. </exclusion>
  48. </exclusions>
  49. </dependency>
  50. <!-- LB 扩展 -->
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.github.ben-manes.caffeine</groupId>
  57. <artifactId>caffeine</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework</groupId>
  61. <artifactId>spring-webmvc</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>javax.servlet</groupId>
  65. <artifactId>javax.servlet-api</artifactId>
  66. <scope>provided</scope>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-source-plugin</artifactId>
  74. </plugin>
  75. </plugins>
  76. </build>
  77. </project>