I just tried to build the SDK example modules. Using a fresh install of Debian 10, I installed Open Java JRE/JDK, Git and Maven. I cloned the ignition SDK examples:
GitHub - inductiveautomation/ignition-sdk-examples: Ignition SDK Example Projects
and from in the SDK directory I ran:
./buildAll.sh
This all seemed to run smoothly (4000+ lines of messages) except for 2 modules:
(buildmessages.txt (543.6 KB)
report-datasource-common
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project report-datasource-common: Compilation failure: Compilation failure:
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
slack-notification-gateway
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project slack-notification-gateway: Compilation failure: Compilation failure:
[ERROR] /home/igndev/Documents/ignition/samples/ignition-sdk-examples/slack-alarm-notification/slack-notification-gateway/src/main/java/com/inductiveautomation/ignition/examples/slack/profile/SlackNotificationProfile.java:[20,23] package com.google.gson does not exist
[ERROR] /home/igndev/Documents/ignition/samples/ignition-sdk-examples/slack-alarm-notification/slack-notification-gateway/src/main/java/com/inductiveautomation/ignition/examples/slack/profile/SlackNotificationProfile.java:[123,13] cannot find symbol
[ERROR] symbol: class JsonObject
[ERROR] location: class com.inductiveautomation.ignition.examples.slack.profile.SlackNotificationProfile
[ERROR] /home/igndev/Documents/ignition/samples/ignition-sdk-examples/slack-alarm-notification/slack-notification-gateway/src/main/java/com/inductiveautomation/ignition/examples/slack/profile/SlackNotificationProfile.java:[123,35] cannot find symbol
[ERROR] symbol: class JsonObject
[ERROR] location: class com.inductiveautomation.ignition.examples.slack.profile.SlackNotificationProfile
Based on what I am seeing this is not an error due to using Open Java vs Oracle. But as I have no clue about Java and/or Ignition SDK development, I can't even begin to theorize why these errors occur.