[
https://issues.apache.org/jira/browse/HBASE-13963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600702#comment-14600702
]
Sean Busbey commented on HBASE-13963:
-------------------------------------
looks like we're missing one. The HBase Testing Utility pom includes
hbase-annotations:test-jar at compile scope, which brings the jdk.tools
dependency in again.
> avoid leaking jdk.tools
> -----------------------
>
> Key: HBASE-13963
> URL: https://issues.apache.org/jira/browse/HBASE-13963
> Project: HBase
> Issue Type: Sub-task
> Components: build, documentation
> Reporter: Sean Busbey
> Assignee: Gabor Liptak
> Priority: Critical
> Fix For: 2.0.0, 1.2.0, 1.3.0
>
> Attachments: HBASE-13963.1.patch
>
>
> Right now hbase-annotations uses jdk7 jdk.tools and exposes that to
> downstream via hbase-client. We need it for building and using our custom
> doclet, but can improve a couple of things:
> -1) We should be using a jdk.tools version based on our java version (use jdk
> activated profiles to set it)-
> 2) We should not be including any jdk.tools version in our hbase-client
> transitive dependencies (or other downstream-facing artifacts).
> Unfortunately, system dependencies are included in transitive resolution, so
> we'll need to exclude it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)