Ignition-maven-plugin version 1.1 vs 1.2

What are the features additions and/or bug fixes included in the ignition-maven-plugin version 1.2?

When I change my module build plugin version to 1.2.0, the modl file ballons by half a Gb and the perspective module then fails to load due to jxbrowser licensing issues.

18:50:36.101 [Designer-Startup] ERROR designer.JXBrowserUtil - Failed to start Browser Engine with options
 com.teamdev.jxbrowser.engine.EngineOptions:
  autoplayEnabled: false
  chromiumDir: C:\Users\james.vosler\.ignition\cache\resources\jxbrowser\7.30.2
  chromiumSwitches: []
  diskCacheSize: <unknown>
  fileAccessFromFilesAllowed: false
  isGpuDisabled: false
  isIncognitoEnabled:false
  language:en-us
  passwordStore: <unknown>
  remoteDebugginPort: 9222
  renderingMode: OFF_SCREEN
  isSandboxDisabled: false
  secureOriginWhitelist: []
  isTouchMenuEnabled: false
  userAgent: <unknown user agent value>
  userDataDir:C:\Users\JAMES~1.VOS\AppData\Local\Temp\UserData\bc84247b-3590-4f52-a223-e7422b60d5f8
  webSecurityDisabled: false
.
com.teamdev.jxbrowser.engine.InvalidLicenseException: This product version is incompatible with the license key. Read more at https://links.teamdev.com/jxbrowser-product-updates
	at com.teamdev.jxbrowser.engine.internal.LicenseExceptionFactory.create(LicenseExceptionFactory.java:47)
	at com.teamdev.jxbrowser.engine.internal.EngineImpl.newInstance(EngineImpl.java:280)
	at com.teamdev.jxbrowser.engine.Engine.newInstance(Engine.java:163)
	at com.inductiveautomation.ignition.client.util.JxBrowserUtil.lambda$getOrCreateEngine$2(JxBrowserUtil.java:347)
	at com.inductiveautomation.ignition.client.util.JxBrowserUtil.runResourceLockedAction(JxBrowserUtil.java:553)
	at com.inductiveautomation.ignition.client.util.JxBrowserUtil.getOrCreateEngine(JxBrowserUtil.java:347)
	at com.inductiveautomation.ignition.client.util.JxBrowserUtil.getOrCreateEngine(JxBrowserUtil.java:406)
	at com.inductiveautomation.perspective.designer.DesignerHook.startup(DesignerHook.java:211)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:1986)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1198)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner.lambda$loadProject$7(IgnitionDesigner.java:997)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:996)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:2050)
	at java.base/java.lang.Thread.run(Unknown Source)

Not sure, the changes it included can be seen here: Commits · inductiveautomation/ignition-maven-plugin · GitHub

Can you share your pom.xml file(s)? It probably has something to do with what your dependencies are and whether they're provided or compile scope.

1 Like

Problem solved. Plugin's involvement will remain unknown.

I found a nested dependency in the common code section referencing the 8.1.0-SNAPSHOT and marked as compile. Changed to ${ignition-sdk-version} and provided scope and both problems went away.

I suspect that the maven plugin 1.1.0 probably should have been including the additional files all along.

Do you have any insight into why there was a license exception thrown when the snapshot version is loaded into a designer from a licensed gateway but not from an unlicensed gateway? (This issue did not occur when running locally in trial mode)

Can you provide the full error message and stack trace?

Probably something to do with version parsing. When you inspect your built module file (it's just a zip file) you should not find any Ignition SDK/API dependencies inside. If you do, you've got your dependencies configured incorrectly.

Error message and stack trace are in the original post

No idea what caused that, it's from the JXBrowser dependency. Maybe you ended up with duplicates on the class path and it balked at that.