[
https://issues.apache.org/jira/browse/THRIFT-5375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17391564#comment-17391564
]
Andy Seaborne edited comment on THRIFT-5375 at 8/2/21, 4:32 PM:
----------------------------------------------------------------
Excluding on 'io.jaegertracing:jaeger-client' should work.
The exclusion is addedto the project's dependency that (transitively) depends
on the artifact that you don't want.
was (Author: andy.seaborne):
Excluding on 'io.jaegertracing:jaeger-client' should work.
The exclusion goes your project's dependency that (transitively) depends on
what you don't want.
> Put org.apache.tomcat.embed:tomcat-embed-core into scope test
> -------------------------------------------------------------
>
> Key: THRIFT-5375
> URL: https://issues.apache.org/jira/browse/THRIFT-5375
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Library
> Affects Versions: 0.14.0, 0.14.1
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Major
> Fix For: 0.15.0
>
>
> 0.14.0 adds org.apache.tomcat.embed:tomcat-embed-core as a dependency with
> scope=compile. It becomes a dependency of systems using libthrift(java).
> It includes a tomcat-specific its own javax.servlet causing a conflict with
> javax.servlet:javax.servlet-api:jar:3.1.0 It gets included in combined jars
> that use Jetty.
> It causes tomcat-emdedded to be downstream systems that produce combined jars
> and docker images.
> The dependency was added by THRIFT-4949.
> The use of this seems to be specific to
> lib/java/test/org/apache/thrift/test/TestTServletServer.java and is not
> necessary at runtime.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)