seninel部署
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pom.xml 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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-demo</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-demo-jax-rs</artifactId>
  12. <properties>
  13. <spring.boot.version>2.2.6.RELEASE</spring.boot.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.alibaba.csp</groupId>
  18. <artifactId>sentinel-core</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.alibaba.csp</groupId>
  22. <artifactId>sentinel-transport-simple-http</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.alibaba.csp</groupId>
  26. <artifactId>sentinel-jax-rs-adapter</artifactId>
  27. <version>${project.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.jboss.resteasy</groupId>
  31. <artifactId>resteasy-spring-boot-starter</artifactId>
  32. <version>4.5.1.Final</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. <version>${spring.boot.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-test</artifactId>
  42. <version>${spring.boot.version}</version>
  43. </dependency>
  44. </dependencies>
  45. </project>