pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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.2</version>
  22. <relativePath>../../hadoop-project-dist</relativePath>
  23. </parent>
  24. <artifactId>hadoop-hdfs-client</artifactId>
  25. <version>3.3.2</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>com.squareup.okhttp</groupId>
  35. <artifactId>okhttp</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.hadoop</groupId>
  39. <artifactId>hadoop-common</artifactId>
  40. <scope>provided</scope>
  41. <exclusions>
  42. <exclusion>
  43. <groupId>commons-logging</groupId>
  44. <artifactId>commons-logging</artifactId>
  45. </exclusion>
  46. <exclusion>
  47. <groupId>log4j</groupId>
  48. <artifactId>log4j</artifactId>
  49. </exclusion>
  50. </exclusions>
  51. </dependency>
  52. <dependency>
  53. <groupId>junit</groupId>
  54. <artifactId>junit</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.mockito</groupId>
  59. <artifactId>mockito-core</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>io.netty</groupId>
  64. <artifactId>netty-all</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.mock-server</groupId>
  69. <artifactId>mockserver-netty</artifactId>
  70. <scope>test</scope>
  71. <exclusions>
  72. <exclusion>
  73. <groupId>io.netty</groupId>
  74. <artifactId>netty-buffer</artifactId>
  75. </exclusion>
  76. <exclusion>
  77. <groupId>io.netty</groupId>
  78. <artifactId>netty-codec</artifactId>
  79. </exclusion>
  80. <exclusion>
  81. <groupId>io.netty</groupId>
  82. <artifactId>netty-codec-http</artifactId>
  83. </exclusion>
  84. <exclusion>
  85. <groupId>io.netty</groupId>
  86. <artifactId>netty-common</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>io.netty</groupId>
  90. <artifactId>netty-handler</artifactId>
  91. </exclusion>
  92. <exclusion>
  93. <groupId>io.netty</groupId>
  94. <artifactId>netty-transport</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.hadoop</groupId>
  100. <artifactId>hadoop-common</artifactId>
  101. <scope>test</scope>
  102. <type>test-jar</type>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.fasterxml.jackson.core</groupId>
  106. <artifactId>jackson-annotations</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.fasterxml.jackson.core</groupId>
  110. <artifactId>jackson-databind</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.bouncycastle</groupId>
  114. <artifactId>bcprov-jdk15on</artifactId>
  115. <scope>test</scope>
  116. </dependency>
  117. </dependencies>
  118. <build>
  119. <plugins>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-surefire-plugin</artifactId>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.rat</groupId>
  126. <artifactId>apache-rat-plugin</artifactId>
  127. <configuration>
  128. <excludes>
  129. <exclude>dev-support/findbugsExcludeFile.xml</exclude>
  130. </excludes>
  131. </configuration>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.xolstice.maven.plugins</groupId>
  135. <artifactId>protobuf-maven-plugin</artifactId>
  136. <executions>
  137. <execution>
  138. <id>src-compile-protoc</id>
  139. <configuration>
  140. <skip>false</skip>
  141. <additionalProtoPathElements>
  142. <additionalProtoPathElement>
  143. ${basedir}/../../hadoop-common-project/hadoop-common/src/main/proto
  144. </additionalProtoPathElement>
  145. </additionalProtoPathElements>
  146. </configuration>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. <plugin>
  151. <groupId>com.google.code.maven-replacer-plugin</groupId>
  152. <artifactId>replacer</artifactId>
  153. <executions>
  154. <execution>
  155. <id>replace-generated-sources</id>
  156. <configuration>
  157. <skip>false</skip>
  158. </configuration>
  159. </execution>
  160. <execution>
  161. <id>replace-sources</id>
  162. <configuration>
  163. <skip>false</skip>
  164. </configuration>
  165. </execution>
  166. <execution>
  167. <id>replace-test-sources</id>
  168. <configuration>
  169. <skip>false</skip>
  170. </configuration>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-javadoc-plugin</artifactId>
  177. <configuration>
  178. <excludePackageNames>org.apache.hadoop.hdfs.protocol.proto</excludePackageNames>
  179. </configuration>
  180. </plugin>
  181. </plugins>
  182. </build>
  183. </project>