pom.xml 6.3 KB

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