Просмотр исходного кода

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

Anu Engineer 7 лет назад
Родитель
Сommit
c14e8b17ec
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml

+ 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>