hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radim Kolar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8527) Dont use JDK6 tools as dependency
Date Mon, 25 Jun 2012 17:27:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400694#comment-13400694

Radim Kolar commented on HADOOP-8527:

I opened maven assembly plugin bug - MASSEMBLY-616.

Maven FAQ recommend similar way: http://maven.apache.org/general.html#tools-jar-dependency
and googling does not discovered any other approach.

I could not find these JDK tools deployed in maven repo, i found only old runtime http://repo1.maven.org/maven2/com/sun/rt/1.5.0_06/rt-1.5.0_06.pom
i will propose to add tools.jar into maven repo because its now GPLed.
> Dont use JDK6 tools as dependency
> ---------------------------------
>                 Key: HADOOP-8527
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8527
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Radim Kolar
>         Attachments: hadoop-jdk.tools.txt
> In hadoop-project/pom.xml there is dependency on jdk.tools/jdk.tools/1.6 with system
scope. This dependency breaks maven-assembly jar-with-dependencies because it tries to find
artifact which does not exists in maven repo.
> It should not be needed. if hadoop is build with JRE, then compile fails. Adding dependency
on jdk.tools does not improve situation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message