I have a single module Maven build where one of the dependences has well
over 200 transitive dependencies.  These transitive dependencies are
incompatible with the rest of my application.

I would like to use the maven-shade-plugin to create a shaded jar uber jar
that contains all of these dependencies that all have been relocated to a
custom package name.  Then I need the Maven build to include this new
shaded dependency instead of the prior/regular one.

How can I configure the maven-shade-plugin to do this?  So far I have not
gotten it to process dependencies at all only other project code.  I want
it to start relocating at the top level dependency that I specify and have
it include all transitive ones from there.

Any pointers, examples are greatly appreciated.

-Dave

Reply via email to