seninel部署
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

pom.xml 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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.4.2-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-demo-zookeeper-datasource</artifactId>
  12. <properties>
  13. <zookeeper.version>3.4.13</zookeeper.version>
  14. <curator.version>4.0.1</curator.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.alibaba.csp</groupId>
  19. <artifactId>sentinel-core</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.alibaba.csp</groupId>
  23. <artifactId>sentinel-datasource-extension</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.alibaba.csp</groupId>
  27. <artifactId>sentinel-datasource-zookeeper</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.alibaba</groupId>
  31. <artifactId>fastjson</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.zookeeper</groupId>
  35. <artifactId>zookeeper</artifactId>
  36. <version>${zookeeper.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.curator</groupId>
  40. <artifactId>curator-recipes</artifactId>
  41. <version>${curator.version}</version>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>org.apache.zookeeper</groupId>
  45. <artifactId>zookeeper</artifactId>
  46. </exclusion>
  47. </exclusions>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <plugins>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-compiler-plugin</artifactId>
  55. <version>${maven.compiler.version}</version>
  56. <configuration>
  57. <source>1.8</source>
  58. <target>1.8</target>
  59. <encoding>${java.encoding}</encoding>
  60. </configuration>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>