pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License. See accompanying LICENSE file.
  12. -->
  13. <project xmlns="http://maven.apache.org/POM/4.0.0"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  16. https://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.apache.hadoop</groupId>
  20. <artifactId>hadoop-project-dist</artifactId>
  21. <version>3.3.9-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project-dist</relativePath>
  23. </parent>
  24. <artifactId>hadoop-hdfs-client</artifactId>
  25. <version>3.3.9-SNAPSHOT</version>
  26. <description>Apache Hadoop HDFS Client</description>
  27. <name>Apache Hadoop HDFS Client</name>
  28. <packaging>jar</packaging>
  29. <properties>
  30. <hadoop.component>hdfs</hadoop.component>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.hadoop</groupId>
  35. <artifactId>hadoop-common</artifactId>
  36. <scope>provided</scope>
  37. <exclusions>
  38. <exclusion>
  39. <groupId>commons-logging</groupId>
  40. <artifactId>commons-logging</artifactId>
  41. </exclusion>
  42. <exclusion>
  43. <groupId>ch.qos.reload4j</groupId>
  44. <artifactId>reload4j</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.httpcomponents</groupId>
  50. <artifactId>httpclient</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.httpcomponents</groupId>
  54. <artifactId>httpcore</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>junit</groupId>
  58. <artifactId>junit</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.mockito</groupId>
  63. <artifactId>mockito-core</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.netty</groupId>
  68. <artifactId>netty-all</artifactId>
  69. <scope>test</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.mock-server</groupId>
  73. <artifactId>mockserver-netty</artifactId>
  74. <scope>test</scope>
  75. <exclusions>
  76. <exclusion>
  77. <groupId>io.netty</groupId>
  78. <artifactId>netty-buffer</artifactId>
  79. </exclusion>
  80. <exclusion>
  81. <groupId>io.netty</groupId>
  82. <artifactId>netty-codec</artifactId>
  83. </exclusion>
  84. <exclusion>
  85. <groupId>io.netty</groupId>
  86. <artifactId>netty-codec-http</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>io.netty</groupId>
  90. <artifactId>netty-common</artifactId>
  91. </exclusion>
  92. <exclusion>
  93. <groupId>io.netty</groupId>
  94. <artifactId>netty-handler</artifactId>
  95. </exclusion>
  96. <exclusion>
  97. <groupId>io.netty</groupId>
  98. <artifactId>netty-transport</artifactId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.hadoop</groupId>
  104. <artifactId>hadoop-common</artifactId>
  105. <scope>test</scope>
  106. <type>test-jar</type>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.fasterxml.jackson.core</groupId>
  110. <artifactId>jackson-annotations</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.fasterxml.jackson.core</groupId>
  114. <artifactId>jackson-databind</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.bouncycastle</groupId>
  118. <artifactId>bcprov-jdk15on</artifactId>
  119. <scope>test</scope>
  120. </dependency>
  121. </dependencies>
  122. <build>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-surefire-plugin</artifactId>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.rat</groupId>
  130. <artifactId>apache-rat-plugin</artifactId>
  131. <configuration>
  132. <excludes>
  133. <exclude>dev-support/findbugsExcludeFile.xml</exclude>
  134. </excludes>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.xolstice.maven.plugins</groupId>
  139. <artifactId>protobuf-maven-plugin</artifactId>
  140. <executions>
  141. <execution>
  142. <id>src-compile-protoc</id>
  143. <configuration>
  144. <skip>false</skip>
  145. <additionalProtoPathElements>
  146. <additionalProtoPathElement>
  147. ${basedir}/../../hadoop-common-project/hadoop-common/src/main/proto
  148. </additionalProtoPathElement>
  149. </additionalProtoPathElements>
  150. </configuration>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <plugin>
  155. <groupId>com.google.code.maven-replacer-plugin</groupId>
  156. <artifactId>replacer</artifactId>
  157. <executions>
  158. <execution>
  159. <id>replace-generated-sources</id>
  160. <configuration>
  161. <skip>false</skip>
  162. </configuration>
  163. </execution>
  164. <execution>
  165. <id>replace-sources</id>
  166. <configuration>
  167. <skip>false</skip>
  168. </configuration>
  169. </execution>
  170. <execution>
  171. <id>replace-test-sources</id>
  172. <configuration>
  173. <skip>false</skip>
  174. </configuration>
  175. </execution>
  176. </executions>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-javadoc-plugin</artifactId>
  181. <configuration>
  182. <excludePackageNames>org.apache.hadoop.hdfs.protocol.proto</excludePackageNames>
  183. </configuration>
  184. </plugin>
  185. </plugins>
  186. </build>
  187. </project>