From bc6cc3d961b52e6fa460e9433ef49682c92fb48a Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Fri, 15 Mar 2013 00:27:40 +0000 Subject: [PATCH] HADOOP-9406. hadoop-client leaks dependency on JDK tools jar. (tucu) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1456729 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-client/pom.xml | 13 ++++++++++++ .../hadoop-annotations/pom.xml | 20 +++++++++++++++++++ .../hadoop-common/CHANGES.txt | 2 ++ hadoop-project/pom.xml | 9 --------- 4 files changed, 35 insertions(+), 9 deletions(-) diff --git a/hadoop-client/pom.xml b/hadoop-client/pom.xml index 0f6e56dd12..1577bcb2df 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 dd4b4ef35e..ea1599b873 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 40bb41a936..466e6d4da8 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 bfb95f2fb6..2d4e447d9c 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