浏览代码

HDFS-17450. Add explicit dependency on httpclient jar (#6130). Contributed by PJ Fanning

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
PJ Fanning 1 年之前
父节点
当前提交
59976f1be2
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      hadoop-hdfs-project/hadoop-hdfs-client/pom.xml

+ 10 - 0
hadoop-hdfs-project/hadoop-hdfs-client/pom.xml

@@ -49,6 +49,16 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
         </exclusion>
       </exclusions>
     </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpclient</artifactId>
+      <version>${httpclient.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpcore</artifactId>
+      <version>${httpcore.version}</version>
+    </dependency>
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>