Wayne Fay wrote
I use shade but won't pretend to be an expert on all the configuration
options. I will assume you RTFM already.
Did you consider using class relocation to move the overlapping
classes to com.dontuse? Or perhaps an artifact filter to just
eliminate them entirely? Just
Wayne Fay wrote
Do you know the name(s) of the files that overlap?
If so, surely a filter that specifies them could be created.
If not, that's the place to start.
For fine-grained control of which classes from the selected
dependencies are included, artifact filters can be used:
I'm trying to use maven shade to overlay all of my changes to a jar on top of
another in a manner similar to a jar overlay. However there are some classes
that overlap in my source files with the jar I wish to overlap. After I
build, the ones that overlap are replaced by what is in the jar's i'm