pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2020 lttcai4cloud Authors. All Rights Reserved.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns="http://maven.apache.org/POM/4.0.0"
  18. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <parent>
  21. <groupId>cn.lttc.modules</groupId>
  22. <artifactId>lttcai-common</artifactId>
  23. <version>${revision}</version>
  24. </parent>
  25. <modelVersion>4.0.0</modelVersion>
  26. <packaging>jar</packaging>
  27. <artifactId>lttcai-common-feign</artifactId>
  28. <description>feign-sentinel服务降级熔断、限流组件</description>
  29. <dependencies>
  30. <dependency>
  31. <groupId>cn.lttc.modules</groupId>
  32. <artifactId>lttcai-common-core</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba.cloud</groupId>
  36. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  37. </dependency>
  38. <!--feign 依赖-->
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-starter-openfeign</artifactId>
  42. </dependency>
  43. <!-- okhttp 扩展 -->
  44. <dependency>
  45. <groupId>io.github.openfeign</groupId>
  46. <artifactId>feign-okhttp</artifactId>
  47. </dependency>
  48. <!-- LB 扩展 -->
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  52. </dependency>
  53. <!--caffeine 替换LB 默认缓存实现-->
  54. <dependency>
  55. <groupId>com.github.ben-manes.caffeine</groupId>
  56. <artifactId>caffeine</artifactId>
  57. </dependency>
  58. <!--oauth server 依赖-->
  59. <dependency>
  60. <groupId>org.springframework.security</groupId>
  61. <artifactId>spring-security-core</artifactId>
  62. </dependency>
  63. <!-- 异常枚举 -->
  64. <dependency>
  65. <groupId>org.springframework</groupId>
  66. <artifactId>spring-webmvc</artifactId>
  67. </dependency>
  68. </dependencies>
  69. </project>