Hello Everyone,
I am having issues completing the build for a custom driver module in Ignition.
I have realized that I am missing the AbstractDriverModuleHook but when I try to add the dependency according to advise on this post, the following error shows up.
[ERROR] Failed to execute goal com.inductiveautomation.ignitionsdk:ignition-maven-plugin:1.0.12:modl (default) on project snmpModule-build: Unable to parse configuration of mojo com.inductiveautomation.ignitionsdk:ignition-maven-plugin:1.0.12:modl for parameter moduleID: Cannot find 'moduleID' in class com.inductiveautomation.ignitionsdk.ModuleDepends -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :snmpModule-build
Here is my build file:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.citi.snmp</groupId>
<artifactId>snmpModule</artifactId>
<version>1.0.3</version>
</parent>
<artifactId>snmpModule-build</artifactId>
<dependencies>
<dependency>
<groupId>com.citi.snmp</groupId>
<artifactId>snmpModule-driver</artifactId>
<version>1.0.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.inductiveautomation.ignitionsdk</groupId>
<artifactId>ignition-maven-plugin</artifactId>
<version>1.0.12</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>modl</goal>
</goals>
</execution>
</executions>
<configuration>
<projectScopes>
<projectScope>
<name>snmpModule-driver</name>
<scope>G</scope>
</projectScope>
</projectScopes>
<moduleId>com.citi.snmp</moduleId>
<moduleName>SNMPModule</moduleName>
<moduleDescription>${project.description}</moduleDescription>
<moduleVersion>1.0.3</moduleVersion>
<requiredIgnitionVersion>7.7.0</requiredIgnitionVersion>
<requiredFrameworkVersion>6</requiredFrameworkVersion>
<depends>
<depend>
<scope>G</scope>
<moduleID>xopc</moduleID>
</depend>
</depends>
<hooks>
<hook>
<scope>G</scope>
<hookClass>com.citi.snmp.DriverHook</hookClass>
</hook>
</hooks>
</configuration>
</plugin>
</plugins>
</build>
</project>
Thanks