htrace-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTRACE-399) Exclude jackson from test dependency on htrace-core4 to avoid infinite loop on creating dependency-reduced-pom
Date Wed, 17 May 2017 03:39:04 GMT

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

Masatake Iwasaki commented on HTRACE-399:
-----------------------------------------

note: Published jar of htrace-core4 does not have dependency on jackson. It is properly removed
by maven-shade-plugin.
https://mvnrepository.com/artifact/org.apache.htrace/htrace-core4/4.2.0-incubating

Building htrace in the project top directory seems to cause the dependency issue.  

> Exclude jackson from test dependency on htrace-core4 to avoid infinite loop on creating
dependency-reduced-pom
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: HTRACE-399
>                 URL: https://issues.apache.org/jira/browse/HTRACE-399
>             Project: HTrace
>          Issue Type: Bug
>          Components: htrace-hbase
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: HTRACE-399.001.patch
>
>
> This is follow-up of HTRACE-234. As it is descrived in MSHADE-148, depending both of
main and test jar of htrace-core4 causes the infinite loop on creating dependency-reduced-pom.
I found that the loop is on adding jackson-core and jackson-databind to exclusions. Excluding
jackson from test dependency to htrace-core4 fixed the issue. Since htrace-core4 has its own
relocated jackson, htrace-hbase does not need the transitive dependency.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message