Actual behavior
When creating an uberJAR the plugin is unpacking all the dependencies in the ""\LIB-INF\shared" directory of the uberJar. See for examples for examples all my Camel classes in the ""\LIB-INF\shared" :
Sometimes this behavior is not desired, for example when you have two dependencies with the same filename, it will result with one of the two files that will not be present in the final uberJar.
See problems with Camel when you try to unpack the JARs : https://developer.jboss.org/thread/245397
And if you merge many .jars -> 1 jar then the TypeConverter file should be merged as well to include all the package names from all the jars. Right now I bet it just add the TypeConverter file from either the first or last .jar.
Here is how we call the CubaUberJarBuilding plugin :
Expected behavior :
We would like to have an option for the plugin not to unpack the dependencies, like Spring Boot would do by default putting all the dependencies in "\BOOT-INF\lib\". See the Camel dependencies in my Spring Boot Uber Jar for example :
Environment
Description of the bug or enhancement
Sometimes this behavior is not desired, for example when you have two dependencies with the same filename, it will result with one of the two files that will not be present in the final uberJar. See problems with Camel when you try to unpack the JARs : https://developer.jboss.org/thread/245397
Here is how we call the CubaUberJarBuilding plugin :