Browse Source

HDFS-10394. move declaration of okhttp version from hdfs-client to hadoop-project POM. Contributed by Xiaobing Zhou.

Xiaobing Zhou 8 years ago
parent
commit
7536815039
2 changed files with 5 additions and 1 deletions
  1. 0 1
      hadoop-hdfs-project/hadoop-hdfs-client/pom.xml
  2. 5 0
      hadoop-project/pom.xml

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

@@ -37,7 +37,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <dependency>
       <groupId>com.squareup.okhttp</groupId>
       <artifactId>okhttp</artifactId>
-      <version>2.4.0</version>
     </dependency>
     <dependency>
       <groupId>org.apache.hadoop</groupId>

+ 5 - 0
hadoop-project/pom.xml

@@ -134,6 +134,11 @@
 
   <dependencyManagement>
     <dependencies>
+      <dependency>
+        <groupId>com.squareup.okhttp</groupId>
+        <artifactId>okhttp</artifactId>
+        <version>2.4.0</version>
+      </dependency>
       <dependency>
         <groupId>jdiff</groupId>
         <artifactId>jdiff</artifactId>