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

This commit is contained in:
Akira Ajisaka 2018-11-06 21:26:43 +09:00
parent 78e43bccf6
commit 49412a1289
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 10 additions and 0 deletions

View File

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

View File

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