You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2015/04/22 21:31:00 UTC

[jira] [Commented] (HTRACE-151) htrace-core, htrace-htraced: Use shaded import paths

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

Colin Patrick McCabe commented on HTRACE-151:
---------------------------------------------

OK, I tried this, and got a bunch of "class not found" errors.  I'm not sure why HTRACE-148 worked, but this doesn't.  Perhaps it has something to do with the fact that maven shade is run during the package phase, and the compile phase comes before package?
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project htrace-core: Compilation failure: Compilation failure:
[ERROR] /home/cmccabe/src/htrace2/htrace-core/src/main/java/org/apache/htrace/impl/MilliSpan.java:[22,47] error: package org.apache.htrace.fasterxml.jackson.core does not exist
[ERROR] /home/cmccabe/src/htrace2/htrace-core/src/main/java/org/apache/htrace/impl/MilliSpan.java:[23,47] error: package org.apache.htrace.fasterxml.jackson.core does not exist
[ERROR] /home/cmccabe/src/htrace2/htrace-core/src/main/java/org/apache/htrace/impl/MilliSpan.java:[24,51] error: package org.apache.htrace.fasterxml.jackson.databind does not exist
{code}

> htrace-core, htrace-htraced: Use shaded import paths
> ----------------------------------------------------
>
>                 Key: HTRACE-151
>                 URL: https://issues.apache.org/jira/browse/HTRACE-151
>             Project: HTrace
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>             Fix For: 3.2.0
>
>
> We should use the shaded import paths for htrace-core and htrace-htraced, to make sure we're using the shaded classes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)