pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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.4.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project-dist</relativePath>
  23. </parent>
  24. <artifactId>hadoop-hdfs-client</artifactId>
  25. <version>3.4.0-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>log4j</groupId>
  62. <artifactId>log4j</artifactId>
  63. </exclusion>
  64. <exclusion>
  65. <groupId>org.slf4j</groupId>
  66. <artifactId>slf4j-ext</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.apache.hadoop</groupId>
  87. <artifactId>hadoop-logging</artifactId>
  88. <scope>test</scope>
  89. <type>test-jar</type>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.mock-server</groupId>
  93. <artifactId>mockserver-netty</artifactId>
  94. <scope>test</scope>
  95. <exclusions>
  96. <exclusion>
  97. <groupId>io.netty</groupId>
  98. <artifactId>netty-buffer</artifactId>
  99. </exclusion>
  100. <exclusion>
  101. <groupId>io.netty</groupId>
  102. <artifactId>netty-codec</artifactId>
  103. </exclusion>
  104. <exclusion>
  105. <groupId>io.netty</groupId>
  106. <artifactId>netty-codec-http</artifactId>
  107. </exclusion>
  108. <exclusion>
  109. <groupId>io.netty</groupId>
  110. <artifactId>netty-common</artifactId>
  111. </exclusion>
  112. <exclusion>
  113. <groupId>io.netty</groupId>
  114. <artifactId>netty-handler</artifactId>
  115. </exclusion>
  116. <exclusion>
  117. <groupId>io.netty</groupId>
  118. <artifactId>netty-transport</artifactId>
  119. </exclusion>
  120. </exclusions>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.hadoop</groupId>
  124. <artifactId>hadoop-common</artifactId>
  125. <scope>test</scope>
  126. <type>test-jar</type>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.fasterxml.jackson.core</groupId>
  130. <artifactId>jackson-annotations</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.fasterxml.jackson.core</groupId>
  134. <artifactId>jackson-databind</artifactId>
  135. </dependency>
  136. </dependencies>
  137. <build>
  138. <plugins>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-surefire-plugin</artifactId>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.apache.rat</groupId>
  145. <artifactId>apache-rat-plugin</artifactId>
  146. <configuration>
  147. <excludes>
  148. <exclude>dev-support/findbugsExcludeFile.xml</exclude>
  149. </excludes>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.xolstice.maven.plugins</groupId>
  154. <artifactId>protobuf-maven-plugin</artifactId>
  155. <executions>
  156. <execution>
  157. <id>src-compile-protoc</id>
  158. <configuration>
  159. <skip>false</skip>
  160. <additionalProtoPathElements>
  161. <additionalProtoPathElement>
  162. ${basedir}/../../hadoop-common-project/hadoop-common/src/main/proto
  163. </additionalProtoPathElement>
  164. </additionalProtoPathElements>
  165. </configuration>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. <plugin>
  170. <groupId>com.google.code.maven-replacer-plugin</groupId>
  171. <artifactId>replacer</artifactId>
  172. <executions>
  173. <execution>
  174. <id>replace-generated-sources</id>
  175. <configuration>
  176. <skip>false</skip>
  177. </configuration>
  178. </execution>
  179. <execution>
  180. <id>replace-sources</id>
  181. <configuration>
  182. <skip>false</skip>
  183. </configuration>
  184. </execution>
  185. <execution>
  186. <id>replace-test-sources</id>
  187. <configuration>
  188. <skip>false</skip>
  189. </configuration>
  190. </execution>
  191. </executions>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-javadoc-plugin</artifactId>
  196. <configuration>
  197. <excludePackageNames>org.apache.hadoop.hdfs.protocol.proto</excludePackageNames>
  198. </configuration>
  199. </plugin>
  200. </plugins>
  201. </build>
  202. </project>