-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: Plugin Development
-
1
Running atlas-mvn install, during phase "default-copy-bundled-dependencies", it seems that maven assembly plugin is being used to create an uber/fat jar in a very simple way: merging all dependencies jar contents into a new jar.
This is known to be very problematic, and in our case causes meta-inf/services files to be incorrect (one dependency jar file overwrites the other) and some classes are not found at runtime.
See https://forgetfulprogrammer.wordpress.com/tag/meta-infservices/
It would be better to avoid using fat jars at all (just load a zip of jars for example), but if that's not possible, at least meta-inf/services file should be merged instead of overwritten.
Thank you!