You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2014/05/13 23:23:18 UTC

[jira] [Created] (ACCUMULO-2805) Exclude unused HTTP Components from thrift dependency

Sean Busbey created ACCUMULO-2805:
-------------------------------------

             Summary: Exclude unused HTTP Components from thrift dependency
                 Key: ACCUMULO-2805
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2805
             Project: Accumulo
          Issue Type: Task
          Components: build
    Affects Versions: 1.6.0, 1.5.1, 1.5.0
            Reporter: Sean Busbey
            Assignee: Sean Busbey
            Priority: Minor
             Fix For: 1.5.2, 1.6.1, 1.7.0


libthrift pulls in the http components library for the THttpClient. AFAICT, we don't use this part of thrift.

In 1.6+, we do use an annotation from http components within our plugin, but that module declares a direct dependency.

When we go to handle our packaging we include libthrift but we purposefully don't include the transitive httpcomponents libraries.

We should exclude the httpcomponents dependencies from our declaration of libthrift to preemptively avoid problems that would occur if some module (other than the maven plugin) starts making use of httpcomponents without declaring it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)