pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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.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. </dependencies>
  131. <build>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-surefire-plugin</artifactId>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.rat</groupId>
  139. <artifactId>apache-rat-plugin</artifactId>
  140. <configuration>
  141. <excludes>
  142. <exclude>dev-support/findbugsExcludeFile.xml</exclude>
  143. </excludes>
  144. </configuration>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.xolstice.maven.plugins</groupId>
  148. <artifactId>protobuf-maven-plugin</artifactId>
  149. <executions>
  150. <execution>
  151. <id>src-compile-protoc</id>
  152. <configuration>
  153. <skip>false</skip>
  154. <additionalProtoPathElements>
  155. <additionalProtoPathElement>
  156. ${basedir}/../../hadoop-common-project/hadoop-common/src/main/proto
  157. </additionalProtoPathElement>
  158. </additionalProtoPathElements>
  159. </configuration>
  160. </execution>
  161. </executions>
  162. </plugin>
  163. <plugin>
  164. <groupId>com.google.code.maven-replacer-plugin</groupId>
  165. <artifactId>replacer</artifactId>
  166. <executions>
  167. <execution>
  168. <id>replace-generated-sources</id>
  169. <configuration>
  170. <skip>false</skip>
  171. </configuration>
  172. </execution>
  173. <execution>
  174. <id>replace-sources</id>
  175. <configuration>
  176. <skip>false</skip>
  177. </configuration>
  178. </execution>
  179. <execution>
  180. <id>replace-test-sources</id>
  181. <configuration>
  182. <skip>false</skip>
  183. </configuration>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-javadoc-plugin</artifactId>
  190. <configuration>
  191. <excludePackageNames>org.apache.hadoop.hdfs.protocol.proto</excludePackageNames>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </build>
  196. </project>