فهرست منبع

HDDS-811. [JDK 11] Fix compilation failures with jdk 11. Contributed by Lokesh Jain.

(cherry picked from commit 49412a12898eda60cb460ebf4bb9126f3c8c1f53)
Akira Ajisaka 6 سال پیش
والد
کامیت
f2f3d47ab5
2فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  1. 6 0
      hadoop-hdds/common/pom.xml
  2. 4 0
      hadoop-ozone/s3gateway/pom.xml

+ 6 - 0
hadoop-hdds/common/pom.xml

@@ -36,6 +36,12 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
   </properties>
 
   <dependencies>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>1.2</version>
+    </dependency>
+
     <dependency>
       <groupId>org.fusesource.leveldbjni</groupId>
       <artifactId>leveldbjni-all</artifactId>

+ 4 - 0
hadoop-ozone/s3gateway/pom.xml

@@ -37,6 +37,10 @@
   </build>
 
   <dependencies>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-ozone-common</artifactId>