Missing dependencies

Hello,

I’ve taken the ComponentExample from the GitHub page and attempted to install dependencies with Maven and get the following error:

Could not resolve dependencies for project com.inductiveautomation.ignition.examples:client-launcher:pom:1.8.0:
The following artifacts could not be resolved: com.inductiveautomation.ignitionsdk:client-api:jar:7.9.3
, com.inductiveautomation.ignitionsdk:vision-client-api:jar:7.9.3: 
Could not find artifact com.inductiveautomation.ignitionsdk:client-api:jar:7.9.3 in releases 
(https://nexus.inductiveautomation.com/repository/inductiveautomation-releases)

Anyone have any ideas? Thanks

Give it another try, we had Nexus down for maintenance on and off this morning. Use the -U flag to force updates.

1 Like

I’m still getting the same error. If I hit the URL it’s pointed to, it redirects me to https://nexus.inductiveautomation.com/#browse/browse:inductiveautomation-releases, which shows no releases

[ERROR] Failed to execute goal on project client-launcher: Could not resolve dependencies for project 
com.inductiveautomation.ignition.examples:client-launcher:pom:1.8.0: The following artifacts could not be resolved: 
com.inductiveautomation.ignitionsdk:client-api:jar:7.9.3, com.inductiveautomation.ignitionsdk:vision-client-api:jar:7.9.3: 
Could not find artifact com.inductiveautomation.ignitionsdk:client-api:jar:7.9.3 in releases 
(https://nexus.inductiveautomation.com/repository/inductiveautomation-releases)

Thanks for the followup - we’re looking into this.

Are you having the same issue with other examples?

Just tried it on ModbusDriverExample and it’s croaking on something else

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] modbus-driver-example .............................. SUCCESS [  0.829 s]
[INFO] mde-gateway ........................................ SUCCESS [ 57.907 s]
[INFO] mde-build .......................................... FAILURE [  0.652 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59.782 s
[INFO] Finished at: 2018-10-10T15:50:43Z
[INFO] Final Memory: 17M/77M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project mde-build: Could not resolve dependencies for project 
com.inductiveautomation.ignition.examples:mde-build:jar:1.8.0: Could not find artifact 
com.inductiveautomation.ignition.examples:mde-gateway:jar:1.8.0 in releases (https://nexus.inductiveautomation.com
/repository/inductiveautomation-releases) -> [Help 1]

I just checked out the example modules in a clean new windows VM with no cache, connecting from a typical public wifi connection and was able to install git, maven and java, clone the example repo, and build both examples without any errors.

Is there anything unusual about your internet connection? Firewall that might be blocking something?

Can you enumerate the exact steps you are taking to build and where you are running the commands?

edit: the fact that it’s trying to resolve jars for the local project is odd. Are you running the mvn package at the root of the example module? (meaning in ./ComponentExample/mvn package, not ./ComponentExample/ce-build/mvn package)

1 Like

mvn package does the trick. I was running mvn dependency:resolve

Thanks!

1 Like

A post was split to a new topic: Can’t Resolve Import