Missing Dependancies

I’m just trying to explore and understand the SDK a bit for future use, but I’m running into issues compiling the examples. The error looks very similar to the one here, but the information listed there doesn’t seem to match.

I’m probably missing something obvious, but I’m a little rusty in eclipse and haven’t used Maven previously.

Any help would be appreciated.

[INFO] Scanning for projects...
[INFO] 
[INFO] ---------< com.inductiveautomation.ignition.examples:ce-build >---------
[INFO] Building ce-build 1.8.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from : https://nexus.inductiveautomation.com/repository/inductiveautomation-releases/com/inductiveautomation/ignition/examples/ce-client/1.8.0/ce-client-1.8.0.pom
[INFO] Downloading from : https://nexus.inductiveautomation.com/repository/inductiveautomation-thirdparty/com/inductiveautomation/ignition/examples/ce-client/1.8.0/ce-client-1.8.0.pom
[WARNING] The POM for com.inductiveautomation.ignition.examples:ce-client:jar:1.8.0 is missing, no dependency information available
[INFO] Downloading from : https://nexus.inductiveautomation.com/repository/inductiveautomation-releases/com/inductiveautomation/ignition/examples/ce-designer/1.8.0/ce-designer-1.8.0.pom
[INFO] Downloading from : https://nexus.inductiveautomation.com/repository/inductiveautomation-thirdparty/com/inductiveautomation/ignition/examples/ce-designer/1.8.0/ce-designer-1.8.0.pom
[WARNING] The POM for com.inductiveautomation.ignition.examples:ce-designer:jar:1.8.0 is missing, no dependency information available
[INFO] Downloading from : https://nexus.inductiveautomation.com/repository/inductiveautomation-releases/com/inductiveautomation/ignition/examples/ce-client/1.8.0/ce-client-1.8.0.jar
[INFO] Downloading from : https://nexus.inductiveautomation.com/repository/inductiveautomation-releases/com/inductiveautomation/ignition/examples/ce-designer/1.8.0/ce-designer-1.8.0.jar
[INFO] Downloading from : https://nexus.inductiveautomation.com/repository/inductiveautomation-thirdparty/com/inductiveautomation/ignition/examples/ce-client/1.8.0/ce-client-1.8.0.jar
[INFO] Downloading from : https://nexus.inductiveautomation.com/repository/inductiveautomation-thirdparty/com/inductiveautomation/ignition/examples/ce-designer/1.8.0/ce-designer-1.8.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.810 s
[INFO] Finished at: 2019-02-18T15:05:14-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ce-build: Could not resolve dependencies for project com.inductiveautomation.ignition.examples:ce-build:jar:1.8.0: The following artifacts could not be resolved: com.inductiveautomation.ignition.examples:ce-client:jar:1.8.0, com.inductiveautomation.ignition.examples:ce-designer:jar:1.8.0: Could not find artifact com.inductiveautomation.ignition.examples:ce-client:jar:1.8.0 in releases (https://nexus.inductiveautomation.com/repository/inductiveautomation-releases) -> [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/DependencyResolutionException

What command were you trying to run and where did you run it from?

I was following the instructions found here.

So I am running ‘package’ on ce-build as shown below.

I don’t know anything about that Eclipse UI, but the examples are meant for you to run mvn package from the example root (the ComponentExample folder in this case), not the build module.

Nevermind, missed a step when re-running it from ComponentExample.

Thanks Kevin