Commit 39776bf
committed
build: publish a shaded version in addition to plain client6
io.grpc uses META-INF/services to dynamically load NameResolver providers.
When building a fat JAR, plugins like maven-assembly-plugin won't merge overlapping
config files without an additional configuration on the end-user's side.
While configuring the plugin is not difficult and we could document this
in our README, we will do our users one better:
using maven-shade-plugin we can distribute a shaded version of client6 with
all its' dependencies' configurations resolved in advance (in addition to
the 'slim' version of the lib).
Now, when trying to build a fat JAR all that our users will need to do
is include <classifier>all</classifier> tag to client6 <dependency> block.1 parent 48cb18f commit 39776bf
1 file changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
| |||
445 | 444 | | |
446 | 445 | | |
447 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
448 | 469 | | |
449 | 470 | | |
450 | 471 | | |
| |||
464 | 485 | | |
465 | 486 | | |
466 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
467 | 492 | | |
468 | 493 | | |
469 | 494 | | |
| |||
0 commit comments