-
Notifications
You must be signed in to change notification settings - Fork 231
Make jaeger-thrift's shaded JAR the default one #461
Make jaeger-thrift's shaded JAR the default one #461
Conversation
@jpkrohling May not have time to review until later this week. One question - why not shade gson? |
We do shade it, but it's a transitive dependency coming from |
Sorry, ignore my comment - didn't look closely enough to the dependency tree. |
03b0900
to
e95cf8f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - do we need tests for the no-shadow
jar?
I think so, probably as part of the crossdock. @jkandasa, would you like to do it, so that you get familiar with how this kind of test is done upstream? |
By the way: I'm marking this as WIP, as the crossdock seem to be failing consistently. |
e95cf8f
to
12f7cc3
Compare
Codecov Report
@@ Coverage Diff @@
## master #461 +/- ##
============================================
+ Coverage 88.24% 88.29% +0.05%
- Complexity 488 489 +1
============================================
Files 63 63
Lines 1846 1846
Branches 240 240
============================================
+ Hits 1629 1630 +1
Misses 139 139
+ Partials 78 77 -1
Continue to review full report at Codecov.
|
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
12f7cc3
to
f5a1097
Compare
For the record, I tested this manually by running the <dependency>
<groupId>io.jaegertracing</groupId>
<artifactId>jaeger-thrift</artifactId>
<version>0.29.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.jaegertracing</groupId>
<artifactId>jaeger-tracerresolver</artifactId>
<version>0.29.1-SNAPSHOT</version>
</dependency> This is the relevant
|
Signed-off-by: Juraci Paixão Kröhling [email protected]
Which problem is this PR solving?
Short description of the changes
jar
task andshadowJar
compileOnly
so that depending projects won't transitively depend on Thrift and OkHttp.A project depending on
jaeger-thrift
with this change will have this automatically pulled:And without this change: