You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by tu...@apache.org on 2013/03/15 01:27:41 UTC
svn commit: r1456729 - in /hadoop/common/trunk: hadoop-client/pom.xml
hadoop-project/pom.xml
Author: tucu
Date: Fri Mar 15 00:27:40 2013
New Revision: 1456729
URL: http://svn.apache.org/r1456729
Log:
HADOOP-9406. hadoop-client leaks dependency on JDK tools jar. (tucu)
Modified:
hadoop/common/trunk/hadoop-client/pom.xml
hadoop/common/trunk/hadoop-project/pom.xml
Modified: hadoop/common/trunk/hadoop-client/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-client/pom.xml?rev=1456729&r1=1456728&r2=1456729&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-client/pom.xml (original)
+++ hadoop/common/trunk/hadoop-client/pom.xml Fri Mar 15 00:27:40 2013
@@ -273,6 +273,19 @@
</exclusion>
</exclusions>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-annotations</artifactId>
+ <scope>compile</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>jdk.tools</groupId>
+ <artifactId>jdk.tools</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
</dependencies>
</project>
Modified: hadoop/common/trunk/hadoop-project/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-project/pom.xml?rev=1456729&r1=1456728&r2=1456729&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-project/pom.xml (original)
+++ hadoop/common/trunk/hadoop-project/pom.xml Fri Mar 15 00:27:40 2013
@@ -864,15 +864,6 @@
<properties>
<build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
</properties>
- <dependencies>
- <dependency>
- <groupId>jdk.tools</groupId>
- <artifactId>jdk.tools</artifactId>
- <version>1.6</version>
- <scope>system</scope>
- <systemPath>${java.home}/../lib/tools.jar</systemPath>
- </dependency>
- </dependencies>
</profile>
<profile>
<id>os.mac</id>