As I say I have dealt with those issues and have this working:
https://github.com/blackmamo/maven-shade-plugin
I just need to add some better tests, and apply any feedback from others. I
tried creating a shaded jar and including it in my war, but my application
server seemed to be incapable of
The idea is there already for a long time, MSHADE-87 [1]
After some time my conclusion was, that in the end it is easier and more
reliable to add a shaded jar to the webarchive instead of trying to solve
this within the war.
This doesn't mean that it could be supported by the maven-shade-plugi
At present the shade plugin doesn't really support war files. The classes that
are shaded are written into the root of the output artefact, and the
WEB-INF/classes path component is mistakenly taken to be part of the package
name.
I have created a fork of the repository and added a new configur