Re: Missing Drivers in fat JAR

2020-05-14 Thread Julian Feinauer
Hey, this is an issue that multiple people here faced... (cdutz, sruehl, myself at least). Can we do anything to document that better? I guess not? Julian Am 14.05.20, 15:59 schrieb "Wolfgang Huse" : Thanks a lot Chris... There was the Service transformer missing. I only had used

Re: Missing Drivers in fat JAR

2020-05-14 Thread Wolfgang Huse
Thanks a lot Chris... There was the Service transformer missing. I only had used the ManifestResourceTransformer (which is included in the pom.xml in the examples-folder). The Service transformer is inherited from the project root pom.xml Works now as expected Mit freundlichen Grüßen –

Re: Missing Drivers in fat JAR

2020-05-14 Thread Christofer Dutz
Hi Wolfgang, if you are speaking about a project of yours where you are using the shade plugin, then you need to add a transformer to your plugin configuration. Every driver has a META-INF/services/org.apache.plc4x.java.api.PlcDriver file, which lists that particular driver. If you run the

Missing Drivers in fat JAR

2020-05-14 Thread Wolfgang Huse
Hi, i am builing a fat jar with maven shade plugin but if I run the application an error occurs: 17:32.651 [main] INFO o.apache.plc4x.java.PlcDriverManager - Instantiating new PLC Driver Manager with class loader jdk.internal.loader.ClassLoaders$AppClassLoader@55054057 10:17:32.653 [main]