pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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-assembly</artifactId>
  29. <packaging>pom</packaging>
  30. <name>Apache ZooKeeper - Assembly</name>
  31. <description>ZooKeeper Assembly</description>
  32. <profiles>
  33. <profile>
  34. <id>full-build</id>
  35. <properties>
  36. <skip.lib.artifact>false</skip.lib.artifact>
  37. </properties>
  38. </profile>
  39. </profiles>
  40. <properties>
  41. <rw.file.permission>0644</rw.file.permission>
  42. <rwx.file.permission>0755</rwx.file.permission>
  43. <skip.lib.artifact>true</skip.lib.artifact>
  44. </properties>
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.apache.zookeeper</groupId>
  48. <artifactId>zookeeper-docs</artifactId>
  49. <version>${project.version}</version>
  50. <type>pom</type>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.zookeeper</groupId>
  54. <artifactId>zookeeper-jute</artifactId>
  55. <version>${project.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.zookeeper</groupId>
  59. <artifactId>zookeeper</artifactId>
  60. <version>${project.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.zookeeper</groupId>
  64. <artifactId>zookeeper-client</artifactId>
  65. <version>${project.version}</version>
  66. <type>pom</type>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.zookeeper</groupId>
  70. <artifactId>zookeeper-prometheus-metrics</artifactId>
  71. <version>${project.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.zookeeper</groupId>
  75. <artifactId>zookeeper-recipes</artifactId>
  76. <version>${project.version}</version>
  77. <type>pom</type>
  78. </dependency>
  79. <!-- list here all the jars we want to put in "lib"
  80. and are in scope 'provided' -->
  81. <dependency>
  82. <groupId>commons-cli</groupId>
  83. <artifactId>commons-cli</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.eclipse.jetty</groupId>
  87. <artifactId>jetty-server</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.eclipse.jetty</groupId>
  91. <artifactId>jetty-servlet</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.fasterxml.jackson.core</groupId>
  95. <artifactId>jackson-databind</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>jline</groupId>
  99. <artifactId>jline</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.dropwizard.metrics</groupId>
  103. <artifactId>metrics-core</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.xerial.snappy</groupId>
  107. <artifactId>snappy-java</artifactId>
  108. </dependency>
  109. </dependencies>
  110. <build>
  111. <plugins>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-assembly-plugin</artifactId>
  115. <executions>
  116. <execution>
  117. <id>bin-assembly</id>
  118. <phase>package</phase>
  119. <goals>
  120. <goal>single</goal>
  121. </goals>
  122. <configuration>
  123. <descriptors>
  124. <descriptor>${project.basedir}/src/main/assembly/bin-package.xml</descriptor>
  125. </descriptors>
  126. <finalName>apache-zookeeper-${project.version}-bin</finalName>
  127. <appendAssemblyId>false</appendAssemblyId>
  128. <tarLongFileMode>posix</tarLongFileMode>
  129. </configuration>
  130. </execution>
  131. <execution>
  132. <id>lib-assembly</id>
  133. <phase>package</phase>
  134. <goals>
  135. <goal>single</goal>
  136. </goals>
  137. <configuration>
  138. <descriptors>
  139. <descriptor>${project.basedir}/src/main/assembly/lib-package.xml</descriptor>
  140. </descriptors>
  141. <finalName>apache-zookeeper-${project.version}-lib</finalName>
  142. <appendAssemblyId>false</appendAssemblyId>
  143. <tarLongFileMode>posix</tarLongFileMode>
  144. <skipAssembly>${skip.lib.artifact}</skipAssembly>
  145. </configuration>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. <plugin>
  150. <groupId>com.github.spotbugs</groupId>
  151. <artifactId>spotbugs-maven-plugin</artifactId>
  152. <configuration>
  153. <skip>true</skip>
  154. </configuration>
  155. </plugin>
  156. <plugin>
  157. <artifactId>maven-deploy-plugin</artifactId>
  158. <configuration>
  159. <!-- this module isn't to be deployed to Maven Central -->
  160. <skip>true</skip>
  161. </configuration>
  162. </plugin>
  163. </plugins>
  164. </build>
  165. </project>