Hey,

There was a thread... I posted my solution (assembly Plugin) and Lukasz also 
suggested something, afair.

Just FYI.

Julian

Von meinem Mobiltelefon gesendet


-------- Ursprüngliche Nachricht --------
Betreff: Solved a problem I with jar-with-dependencies
Von: Christofer Dutz
An: [email protected]
Cc:

Hi all,

while working on the Kafka Connect plugin, I encountered a problem I remember 
others had been having before.
When using the assembly plugin to build “jar-with-dependencies” and trying to 
include multiple drivers, only one could be loaded, because the services files 
overwrite each other.

I solved this problem by using a custom “jar-with-dependencies” which contains 
an additional rule to merge the services files.

https://github.com/apache/plc4x/tree/featule/kafka-connect-refactoring/plc4j/integrations/apache-kafka

With this I’m getting a Fat-Jar where the driver-manager is able to load all 
drivers.

Just thought I’d report.

Chris


Reply via email to