Hi Unfortunately, maven-shade-plugin has some unwanted side effects.
- The source jar file is not updated too, so if we "shade" shared, the sources are not updated. In theory, the source jar is used by IDEs like Eclipse or Netbeans to show the source file of a .class. - It does not play well with osgi bundle plugin (the one that create manifest.mf). The problem is the manifest is generated before "shade", and we need the later. Really that one is a problem related to maven itself. The only valid use case I found where maven-shade-plugin fits well is with implee6 module, but anyway it was required to do some hacks to make bundle plugin works well. regards, Leonardo Uribe
