pom.xml 6.4 KB

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