As the title says, I'm looking for a simple example in github that contains a code example that shows how to use the [the maven-shade-plugin] to rename classes when two versions of a library must be included in an application.
I found this answer on SO: https://stackoverflow.com/a/13620420/3281336 which shows exactly what I'm trying to do and I'm looking for a github repo that has that code example in it.
In the mean time, I'm starting to create my on version of this example and will post what I've created if no one points one out to me.
I have found several web pages that describe the plugin but nothing that has included a pointer to a repo with sample code.
Some useful writes up on the maven-shade-plugin
The plugin documentation: https://maven.apache.org/plugins/maven-shade-plugin/examples/class-relocation.html
What is the maven-shade-plugin used for, and why would you want to relocate Java packages? - the answer that included the diagram that shows how maven-shade-plugin allows two versions of a library to be included in an application.
In the same question this answer was great because it gave several real-life examples of how and why the maven-shade-plugin is used: https://stackoverflow.com/a/19386712/3281336
What is the maven-shade-plugin used for, and why would you want to relocate Java packages?
Difference between maven plugins ( assembly-plugins , jar-plugins , shaded-plugins) - differences between the different plugins to create a JAR executable.
Searching on google there were several articles I found that explained how to use the maven-shade-plugin. Some were: