I think because you’re missing <scope>provided</scope> on the tag-historian artifact you’re getting all of the SDK artifacts included your module as well.
If I add scope provided, the file is only 2mb, but then the module is faulted with the following.
Currently testing on a 8.1.16 gateway.
Caused by: java.lang.ClassNotFoundException: com.inductiveautomation.gateway.tags.history.thsplitter.config.SplitterSettings
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:37)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.loadClass(ModuleClassLoader.java:85)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 18 common frames omitted
I think that means your module isn’t indicating it depends on the Tag History module in the ignition-maven-plugin configuration section and resulting module.xml.