I tried to run “mvn package” command from under some of the examples root folders; however in many instances the operation aborts due to a specific file missing from the repository, namely ‘sdk-client-0.1.0-SNAPSHOT.jar’.
Maven clearly shows that the file is not available, yet this is supposed to be downloaded automatically from the source, but if it’s not there then Maven just aborts and doesn’t complete the job.
Try deleting the repository folder and let Maven to download the repository again. Than it should work. For more answers you can take a look in this thread.
I have run into the same issue 7 months later and the examples have not been updated. It would help alot to the new people like me that is learning the sdk.
To solve the problem, apart form adding the repository from Kevins answer, I had to update the dependencies version in the pom.xml under scripting-rpc-gateway from 7.9.0-SNAPSHOT to 7.9.2-SNAPSHOT.
Also I have updated the ignition-maven-plugin from the version 1.0.9-SNAPSHOT to the 1.0.12, which is the latest at the moment. This is located in the pom.xml under scripting-rpc-build.
After this changes I have been able to build the .modl.