hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18723) [pom cleanup] Do a pass with dependency:analyze; remove unused and explicity list the dependencies we exploit
Date Thu, 31 Aug 2017 05:59:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16148491#comment-16148491
] 

stack commented on HBASE-18723:
-------------------------------

.001

Do a pass with dependency:analyze; remove unused and
explicity list the dependencies we exploit

Remove the parent dependencies set which had junit, mockito,
log4j, and findbugs annotations. Listing in parent set meant
these libs were dependencies for all modules which in
practice was not the case. Edited all modules so those that
need any from this parent set now do explicit listing.

Ran the dependency:analyze over the project. Acted on most
suggested removals and requests for explicit listing. Some
grey areas remain around transitives that come in with
hadoop --needs better excludes, another project-- and that
the dependency:analyze tool is not always accurate in its
reporting.

> [pom cleanup] Do a pass with dependency:analyze; remove unused and explicity list the
dependencies we exploit
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-18723
>                 URL: https://issues.apache.org/jira/browse/HBASE-18723
>             Project: HBase
>          Issue Type: Bug
>          Components: pom
>            Reporter: stack
>            Assignee: stack
>             Fix For: 2.0.0-alpha-3
>
>         Attachments: HBASE-18723.master.001.patch
>
>
> Do a pass over our poms. They are sloppy including unused jars and not listing actually
used dependencies. Undo 'required' dependencies like junit and mockito; not all modules need
these anymore.
> This cleanup motivated by failures up on jenkins where a build step is not finding transitive
includes; explicit mention is needed (See failures in HBASE-18674).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message