You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 2.1 kB

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. <groupId>com.xkcoding</groupId>
  7. <artifactId>demo-distributed-lock</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>demo-distributed-lock-curator</artifactId>
  12. <properties>
  13. <java.version>17</java.version>
  14. <curator.version>5.3.0</curator.version>
  15. <zookeeper.version>3.8.0</zookeeper.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.xkcoding</groupId>
  20. <artifactId>demo-distributed-lock-api</artifactId>
  21. <version>1.0.0-SNAPSHOT</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.apache.curator</groupId>
  25. <artifactId>curator-framework</artifactId>
  26. <version>${curator.version}</version>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>org.apache.zookeeper</groupId>
  30. <artifactId>zookeeper</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.apache.curator</groupId>
  36. <artifactId>curator-recipes</artifactId>
  37. <version>${curator.version}</version>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>org.apache.zookeeper</groupId>
  41. <artifactId>zookeeper</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.zookeeper</groupId>
  47. <artifactId>zookeeper</artifactId>
  48. <version>${zookeeper.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.projectlombok</groupId>
  52. <artifactId>lombok</artifactId>
  53. <optional>true</optional>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <finalName>${project.artifactId}</finalName>
  58. <plugins>
  59. <plugin>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-maven-plugin</artifactId>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </project>