HADOOP-11269. Add java 8 profile for hadoop-annotations. Contributed by Li Lu.

This commit is contained in:
Haohui Mai 2014-11-04 17:57:31 -08:00
parent fa92b40f09
commit ab07fef5b7
2 changed files with 17 additions and 0 deletions

View File

@ -71,6 +71,21 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>jdk1.8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<dependencies>
<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.8</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

View File

@ -52,6 +52,8 @@ Release 2.7.0 - UNRELEASED
HADOOP-11230. Add missing dependency of bouncycastle for kms, httpfs, hdfs, MR
and YARN. (Robert Kanter via wheat9)
HADOOP-11269. Add java 8 profile for hadoop-annotations. (Li Lu via wheat9)
Release 2.6.0 - UNRELEASED
INCOMPATIBLE CHANGES