I am a Master's student at the University of Innsbruck, and for my Master's Thesis, I am developing a simulated (for now) digital twin. However, I am encountering an issue while trying to run an example found under examples/hono-client-examples/src/main/java/org/eclipse/hono/vertx/example.
When I execute the command mvn clean package, I get the following error:
[ERROR] Failed to execute goal on project hono-example-client: Could not resolve dependencies for project org.eclipse.hono:hono-example-client:jar:2.6.0-SNAPSHOT: The following artifacts could not be resolv
ed: org.eclipse.hono:hono-legal:jar:2.6.0-SNAPSHOT (absent), org.eclipse.hono:hono-client-application-amqp:jar:2.6.0-SNAPSHOT (absent), org.eclipse.hono:hono-client-application-kafka:jar:2.6.0-SNAPSHOT (abs
ent), org.eclipse.hono:hono-client-device-amqp:jar:2.6.0-SNAPSHOT (absent), org.eclipse.hono:hono-demo-certs:jar:2.6.0-SNAPSHOT (absent): Could not find artifact org.eclipse.hono:hono-legal:jar:2.6.0-SNAPSHOT -> [Help 1]
Does anyone know what I am missing? Thank you in advance for you help!
You need to run mvn clean install in the root folder first. This will compile all code into jar files and add them to your local Maven repository. After that, compiling the example(s) should work as expected.
Hello everyone,
I am a Master's student at the University of Innsbruck, and for my Master's Thesis, I am developing a simulated (for now) digital twin. However, I am encountering an issue while trying to run an example found under
examples/hono-client-examples/src/main/java/org/eclipse/hono/vertx/example
.When I execute the command
mvn clean package
, I get the following error:[ERROR] Failed to execute goal on project hono-example-client: Could not resolve dependencies for project org.eclipse.hono:hono-example-client:jar:2.6.0-SNAPSHOT: The following artifacts could not be resolv ed: org.eclipse.hono:hono-legal:jar:2.6.0-SNAPSHOT (absent), org.eclipse.hono:hono-client-application-amqp:jar:2.6.0-SNAPSHOT (absent), org.eclipse.hono:hono-client-application-kafka:jar:2.6.0-SNAPSHOT (abs ent), org.eclipse.hono:hono-client-device-amqp:jar:2.6.0-SNAPSHOT (absent), org.eclipse.hono:hono-demo-certs:jar:2.6.0-SNAPSHOT (absent): Could not find artifact org.eclipse.hono:hono-legal:jar:2.6.0-SNAPSHOT -> [Help 1]
Does anyone know what I am missing? Thank you in advance for you help!