pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <!--
  4. /**
  5. * Licensed to the Apache Software Foundation (ASF) under one
  6. * or more contributor license agreements. See the NOTICE file
  7. * distributed with this work for additional information
  8. * regarding copyright ownership. The ASF licenses this file
  9. * to you under the Apache License, Version 2.0 (the
  10. * "License"); you may not use this file except in compliance
  11. * with the License. You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS,
  17. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. */
  21. -->
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>org.apache.zookeeper</groupId>
  25. <artifactId>parent</artifactId>
  26. <version>3.10.0-SNAPSHOT</version>
  27. </parent>
  28. <artifactId>zookeeper-recipes</artifactId>
  29. <packaging>pom</packaging>
  30. <name>Apache ZooKeeper - Recipes</name>
  31. <description>
  32. 1) This module contains various Zookeeper recipe implementations.
  33. 2) The recipe directory name should specify the name of the recipe you are implementing - eg. zookeeper-recipes-lock.
  34. 3) It would be great if you can provide both the java and c recipes for the zookeeper recipes.
  35. C recipes go in to zookeeper-recipes/zookeeper-recipes-[recipe-name]/src/c
  36. Java implementation goes into zookeeper-recipes/zookeeper-recipes-[recipe-name]/src/java.
  37. 4) The recipes hold high standards like our zookeeper c/java libraries, so make sure that you include
  38. some unit testing with both the c and java recipe code.
  39. 5) Also, please name your c client public methods as
  40. zkr_recipe-name_methodname
  41. (eg. zkr_lock_lock in zookeeper-recipes-lock/src/c)
  42. 6) To run the c tests in all the recipes,
  43. - make sure the main zookeeper c libraries in
  44. zookeeper-client-c are compiled. Run autoreconf -if;./configure; make. The libraries
  45. will be installed in {top}/src/c/.libs.
  46. - run autoreconf if;./configure;make run-check
  47. in zookeeper-recipes/$recipename/src/c
  48. </description>
  49. <modules>
  50. <module>zookeeper-recipes-election</module>
  51. <module>zookeeper-recipes-lock</module>
  52. <module>zookeeper-recipes-queue</module>
  53. </modules>
  54. <dependencies>
  55. <dependency>
  56. <groupId>org.apache.zookeeper</groupId>
  57. <artifactId>zookeeper</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.zookeeper</groupId>
  62. <artifactId>zookeeper</artifactId>
  63. <version>${project.version}</version>
  64. <type>test-jar</type>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.xerial.snappy</groupId>
  69. <artifactId>snappy-java</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.junit.jupiter</groupId>
  74. <artifactId>junit-jupiter-engine</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.dropwizard.metrics</groupId>
  79. <artifactId>metrics-core</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.github.spotbugs</groupId>
  84. <artifactId>spotbugs-annotations</artifactId>
  85. <scope>provided</scope>
  86. <optional>true</optional>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <plugins>
  91. <plugin>
  92. <artifactId>maven-deploy-plugin</artifactId>
  93. <configuration>
  94. <!-- this module isn't to be deployed to Maven Central -->
  95. <skip>true</skip>
  96. </configuration>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>