瀏覽代碼

HADOOP-13382. Remove unneeded commons-httpclient dependencies from POM files in Hadoop and sub-projects, while adding it in to the only place it is still needed, hadoop-openstack. Contributed by Matt Foley.

mattf-horton 8 年之前
父節點
當前提交
12aa184479

+ 0 - 5
hadoop-project/pom.xml

@@ -485,11 +485,6 @@
         <artifactId>xmlenc</artifactId>
         <version>0.52</version>
       </dependency>
-      <dependency>
-        <groupId>commons-httpclient</groupId>
-        <artifactId>commons-httpclient</artifactId>
-        <version>3.1</version>
-      </dependency>
       <dependency>
         <groupId>org.apache.httpcomponents</groupId>
         <artifactId>httpclient</artifactId>

+ 1 - 0
hadoop-tools/hadoop-openstack/pom.xml

@@ -136,6 +136,7 @@
     <dependency>
       <groupId>commons-httpclient</groupId>
       <artifactId>commons-httpclient</artifactId>
+      <version>3.1</version>
       <scope>compile</scope>
     </dependency>
     <dependency>

+ 0 - 6
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/pom.xml

@@ -75,12 +75,6 @@
       <scope>compile</scope>
     </dependency>
 
-    <dependency>
-      <groupId>commons-httpclient</groupId>
-      <artifactId>commons-httpclient</artifactId>
-      <scope>test</scope>
-    </dependency>
-
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>