From 49412a12898eda60cb460ebf4bb9126f3c8c1f53 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 6 Nov 2018 21:26:43 +0900 Subject: [PATCH] HDDS-811. [JDK 11] Fix compilation failures with jdk 11. Contributed by Lokesh Jain. --- hadoop-hdds/common/pom.xml | 6 ++++++ hadoop-ozone/s3gateway/pom.xml | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/hadoop-hdds/common/pom.xml b/hadoop-hdds/common/pom.xml index 65cd1d1c6a5..0345012aa5f 100644 --- a/hadoop-hdds/common/pom.xml +++ b/hadoop-hdds/common/pom.xml @@ -36,6 +36,12 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + javax.annotation + javax.annotation-api + 1.2 + + org.fusesource.leveldbjni leveldbjni-all diff --git a/hadoop-ozone/s3gateway/pom.xml b/hadoop-ozone/s3gateway/pom.xml index 5bc7c62b8c0..b78796f7c6e 100644 --- a/hadoop-ozone/s3gateway/pom.xml +++ b/hadoop-ozone/s3gateway/pom.xml @@ -37,6 +37,10 @@ + + javax.xml.bind + jaxb-api + org.apache.hadoop hadoop-ozone-common