Browse Source

HADOOP-12868. Fix hadoop-openstack undeclared and unused dependencies. Contributed by Masatake Iwasaki.

Andrew Wang 9 năm trước cách đây
mục cha
commit
fa440a39b7
1 tập tin đã thay đổi với 7 bổ sung15 xóa
  1. 7 15
      hadoop-tools/hadoop-openstack/pom.xml

+ 7 - 15
hadoop-tools/hadoop-openstack/pom.xml

@@ -111,13 +111,17 @@
       <artifactId>hadoop-common</artifactId>
       <scope>compile</scope>
     </dependency>
-
     <dependency>
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-common</artifactId>
       <scope>compile</scope>
       <type>test-jar</type>
     </dependency>
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-annotations</artifactId>
+      <scope>compile</scope>
+    </dependency>
 
     <dependency>
       <groupId>org.codehaus.jackson</groupId>
@@ -134,11 +138,9 @@
       <artifactId>commons-httpclient</artifactId>
       <scope>compile</scope>
     </dependency>
-
-    <!-- Used for loading test resources and converting a File to byte[] -->
     <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
       <scope>compile</scope>
     </dependency>
 
@@ -147,15 +149,5 @@
       <artifactId>junit</artifactId>
       <scope>provided</scope>
     </dependency>
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-      <scope>test</scope>
-    </dependency>
   </dependencies>
 </project>