Browse Source

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

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
PJ Fanning 1 year ago
parent
commit
59976f1be2
1 changed files with 10 additions and 0 deletions
  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>
         </exclusion>
       </exclusions>
       </exclusions>
     </dependency>
     </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>
     <dependency>
       <groupId>junit</groupId>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <artifactId>junit</artifactId>