HDDS-811. [JDK 11] Fix compilation failures with jdk 11. Contributed by Lokesh Jain.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/49412a12 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/49412a12 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/49412a12 Branch: refs/heads/HDFS-13891 Commit: 49412a12898eda60cb460ebf4bb9126f3c8c1f53 Parents: 78e43bc Author: Akira Ajisaka <[email protected]> Authored: Tue Nov 6 21:26:43 2018 +0900 Committer: Akira Ajisaka <[email protected]> Committed: Tue Nov 6 21:26:43 2018 +0900 ---------------------------------------------------------------------- hadoop-hdds/common/pom.xml | 6 ++++++ hadoop-ozone/s3gateway/pom.xml | 4 ++++ 2 files changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/49412a12/hadoop-hdds/common/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-hdds/common/pom.xml b/hadoop-hdds/common/pom.xml index 65cd1d1..0345012 100644 --- a/hadoop-hdds/common/pom.xml +++ b/hadoop-hdds/common/pom.xml @@ -37,6 +37,12 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> <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> </dependency> http://git-wip-us.apache.org/repos/asf/hadoop/blob/49412a12/hadoop-ozone/s3gateway/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-ozone/s3gateway/pom.xml b/hadoop-ozone/s3gateway/pom.xml index 5bc7c62..b78796f 100644 --- a/hadoop-ozone/s3gateway/pom.xml +++ b/hadoop-ozone/s3gateway/pom.xml @@ -38,6 +38,10 @@ <dependencies> <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + </dependency> + <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-ozone-common</artifactId> <scope>compile</scope> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
