8.0.0-SNAPSHOT dependency not found

#1

Hello,
I’m newbie in the Ignition SDK so I’m testing the examples. I’ve installed Maven 3.2.2, JDK12 and Eclipse (I was already using Ignition 8).
I’m right now with the ExpressionFunction example. This is the result of the build:

The error says:
[ERROR] Failed to execute goal on project expression-function-gateway: Could not resolve dependencies for project com.inductiveautomation.ignition.examples:expression-function-gateway:jar:8.0.0-SNAPSHOT: Failed to collect dependencies at com.inductiveautomation.ignitionsdk:gateway-api:pom:8.0.0 -> com.inductiveautomation.ignition:gateway-api:jar:8.0.0 -> javax.mail:javax.mail:jar:1.5.2: Failed to read artifact descriptor for javax.mail:javax.mail:jar:1.5.2: Could not transfer artifact javax.mail:javax.mail:pom:1.5.2 from/to thirdparty (https://nexus.inductiveautomation.com:8081/repository/inductiveautomation-vendor): connect timed out -> [Help 1]

I’d changed the SNAPSHOT to 8.0.0. Any suggestion?

Thanks in advance

0 Likes

Can't resolve dependency
#2

Remove the -SNAPSHOT suffix from any dependency versions and it should work.

0 Likes