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 b76179895d
commit 0762b4a3fb
2 changed files with 17 additions and 0 deletions

View File

@ -71,6 +71,21 @@
</dependency> </dependency>
</dependencies> </dependencies>
</profile> </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> </profiles>
</project> </project>

View File

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