seninel部署
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

74 行
2.5KB

  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.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-zuul-adapter</artifactId>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <zuul.version>1.3.1</zuul.version>
  15. <servlet.api.version>3.1.0</servlet.api.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.alibaba.csp</groupId>
  20. <artifactId>sentinel-core</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.alibaba.csp</groupId>
  24. <artifactId>sentinel-api-gateway-adapter-common</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>javax.servlet</groupId>
  28. <artifactId>javax.servlet-api</artifactId>
  29. <version>${servlet.api.version}</version>
  30. <scope>provided</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.netflix.zuul</groupId>
  34. <artifactId>zuul-core</artifactId>
  35. <version>${zuul.version}</version>
  36. <scope>provided</scope>
  37. <exclusions>
  38. <exclusion>
  39. <groupId>org.mockito</groupId>
  40. <artifactId>mockito-all</artifactId>
  41. </exclusion>
  42. </exclusions>
  43. </dependency>
  44. <!-- we need to use AntPathMatcher in spring-core -->
  45. <dependency>
  46. <groupId>org.springframework</groupId>
  47. <artifactId>spring-core</artifactId>
  48. <version>4.3.20.RELEASE</version>
  49. <scope>provided</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-netflix-zuul</artifactId>
  54. <version>1.4.6.RELEASE</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>junit</groupId>
  59. <artifactId>junit</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.mockito</groupId>
  64. <artifactId>mockito-core</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. </dependencies>
  68. </project>