Browse Source

HDFS-12515. Ozone: mvn package compilation fails on HDFS-7240. Contributed by Anu Engineer.

Anu Engineer 7 năm trước cách đây
mục cha
commit
c14e8b17ec

+ 7 - 0
hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml

@@ -34,6 +34,13 @@
   </properties>
 
   <dependencies>
+      <!-- Adding this dependency makes this build in ozone !-->
+      <dependency>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+      </dependency>
+      <!-- but this not needed in trunk !-->
+
     <dependency>
       <groupId>commons-cli</groupId>
       <artifactId>commons-cli</artifactId>