When I package my module using maven, the modl file ends up being 0.5 GB:
Inside the module, I can clearly see that a lot of libraries are being loaded into the module:
The problem is that I’m not using those libraries at all. I’m only using Ignition SDK, gson, slf4j and some apache commons libraries (for example I dont use jxbrowser at all). My imports are clean and I have tried deleting the libraries from my machine and from my project and reloading maven dependencies, but these libraries keep being downloaded and loaded into my modl.
Also using Intelij’s maven tool, I can see that the dependency “com.inductiveautomation.ignition:client-api:8.1.0” has most (if not all) the unwanted dependencies, including the jxbrowser ones.
If it helps, I generated the poms using the ignition maven plugin version 1.2.0, here is the client pom.xml:
client-pom.txt (2.6 KB)
Thank you in advance, I’m guessing this is a maven noob mistake