seninel部署
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

64 lines
2.1KB

  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>sentinel-adapter</artifactId>
  7. <groupId>com.alibaba.csp</groupId>
  8. <version>1.8.2-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-zuul2-adapter</artifactId>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <java.source.version>1.8</java.source.version>
  15. <java.target.version>1.8</java.target.version>
  16. <zuul.version>2.1.5</zuul.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.alibaba.csp</groupId>
  21. <artifactId>sentinel-core</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.alibaba.csp</groupId>
  25. <artifactId>sentinel-api-gateway-adapter-common</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.netflix.zuul</groupId>
  29. <artifactId>zuul-core</artifactId>
  30. <version>${zuul.version}</version>
  31. <scope>provided</scope>
  32. <exclusions>
  33. <exclusion>
  34. <groupId>org.mockito</groupId>
  35. <artifactId>mockito-core</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. <!-- The Spring library is introduced for AntMatcher -->
  40. <dependency>
  41. <groupId>org.springframework</groupId>
  42. <artifactId>spring-core</artifactId>
  43. <version>5.1.18.RELEASE</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>junit</groupId>
  47. <artifactId>junit</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.mockito</groupId>
  52. <artifactId>mockito-core</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. </dependencies>
  56. </project>