diff --git a/hadoop-client/pom.xml b/hadoop-client/pom.xml index 0f6e56dd12c..1577bcb2dfa 100644 --- a/hadoop-client/pom.xml +++ b/hadoop-client/pom.xml @@ -273,6 +273,19 @@ + + + org.apache.hadoop + hadoop-annotations + compile + + + jdk.tools + jdk.tools + + + + diff --git a/hadoop-common-project/hadoop-annotations/pom.xml b/hadoop-common-project/hadoop-annotations/pom.xml index dd4b4ef35ee..ea1599b8733 100644 --- a/hadoop-common-project/hadoop-annotations/pom.xml +++ b/hadoop-common-project/hadoop-annotations/pom.xml @@ -38,4 +38,24 @@ + + + os.linux + + + !Mac + + + + + jdk.tools + jdk.tools + 1.6 + system + ${java.home}/../lib/tools.jar + + + + + diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 40bb41a9360..466e6d4da87 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -580,6 +580,8 @@ Release 2.0.4-alpha - UNRELEASED BUG FIXES + HADOOP-9406. hadoop-client leaks dependency on JDK tools jar. (tucu) + Release 2.0.3-alpha - 2013-02-06 INCOMPATIBLE CHANGES diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index bfb95f2fb6d..2d4e447d9ca 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -864,15 +864,6 @@ ${os.name}-${os.arch}-${sun.arch.data.model} - - - jdk.tools - jdk.tools - 1.6 - system - ${java.home}/../lib/tools.jar - - os.mac