pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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>zookeeper-contrib</artifactId>
  26. <version>3.10.0-SNAPSHOT</version>
  27. </parent>
  28. <groupId>org.apache.zookeeper</groupId>
  29. <artifactId>zookeeper-contrib-fatjar</artifactId>
  30. <packaging>jar</packaging>
  31. <name>Apache ZooKeeper - Contrib - Fatjar</name>
  32. <properties>
  33. <maven.javadoc.skip>true</maven.javadoc.skip>
  34. <maven.source.skip>true</maven.source.skip>
  35. </properties>
  36. <dependencies>
  37. <dependency>
  38. <groupId>org.apache.zookeeper</groupId>
  39. <artifactId>zookeeper-jute</artifactId>
  40. <version>${project.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.zookeeper</groupId>
  44. <artifactId>zookeeper</artifactId>
  45. <version>${project.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.zookeeper</groupId>
  49. <artifactId>zookeeper</artifactId>
  50. <version>${project.version}</version>
  51. <type>test-jar</type>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.zookeeper</groupId>
  55. <artifactId>zookeeper-it</artifactId>
  56. <version>${project.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.slf4j</groupId>
  60. <artifactId>slf4j-api</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>commons-cli</groupId>
  64. <artifactId>commons-cli</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.eclipse.jetty</groupId>
  68. <artifactId>jetty-server</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.eclipse.jetty</groupId>
  72. <artifactId>jetty-servlet</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.fasterxml.jackson.core</groupId>
  76. <artifactId>jackson-databind</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>jline</groupId>
  80. <artifactId>jline</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.dropwizard.metrics</groupId>
  84. <artifactId>metrics-core</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.xerial.snappy</groupId>
  88. <artifactId>snappy-java</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>ch.qos.logback</groupId>
  92. <artifactId>logback-core</artifactId>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <resources>
  97. <resource>
  98. <directory>${project.basedir}/src/main/resources</directory>
  99. </resource>
  100. <resource>
  101. <directory>${project.basedir}/../../conf</directory>
  102. <includes>
  103. <include>logback.xml</include>
  104. </includes>
  105. </resource>
  106. </resources>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-assembly-plugin</artifactId>
  111. <configuration>
  112. <descriptorRefs>
  113. <descriptorRef>jar-with-dependencies</descriptorRef>
  114. </descriptorRefs>
  115. <archive>
  116. <manifest>
  117. <mainClass>org.apache.zookeeper.util.FatJarMain</mainClass>
  118. </manifest>
  119. </archive>
  120. <finalName>zookeeper-${project.version}-fatjar</finalName>
  121. <appendAssemblyId>false</appendAssemblyId>
  122. <attach>false</attach>
  123. </configuration>
  124. <executions>
  125. <execution>
  126. <id>make-assembly</id>
  127. <phase>package</phase>
  128. <goals>
  129. <goal>single</goal>
  130. </goals>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. </project>