Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 01-18-2017 02:41 PM - edited 09-16-2022 03:55 AM
Hi, i am trying to build the iot-trucking app but keep running into the error below. The iot-trucking-app, trucking-domain-objects and trucking-storm-topology successfully build, but then fails at trucking-data-simulator. Thank you
[ERROR] Failed to execute goal on project trucking-data-simulator: Could not resolve dependencies for project hortonworks.hdp.refapp.trucking:trucking-data-simulator:jar:5.0.0-SNAPSHOT: Failure to find com.hortonworks.registries:schema-registry-serdes:jar:0.1.0-SNAPSHOT in http://oss.sonatype.org/content/repositories/github-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of github-releases has elapsed or updates are forced -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project trucking-data-simulator: Could not resolve dependencies for project hortonworks.hdp.refapp.trucking:trucking-data-simulator:jar:5.0.0-SNAPSHOT: Failure to find com.hortonworks.registries:schema-registry-serdes:jar:0. 1.0-SNAPSHOT in http://oss.sonatype.org/content/repositories/github-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of github-releases has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuil der.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuil der.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.j ava:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project hortonworks.hdp.refapp.trucking:trucking-data-simulator:jar:5.0.0-SNAPSHOT: Failure to find com.hortonworks.registries:schema-registry-serdes:jar:0.1.0-SNAPSHOT in http://oss.sonatype.org/content/repositories/github-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of github-releases has elapsed or updates are forced
Created 01-18-2017 07:54 PM
Hi @Roger Young,
New dependencies have been added and the install procedure has not been updated accordingly. You have two options: build the new dependency (in this case, the schema registry that you can find here: https://github.com/hortonworks/registry/tree/master/schema-registry), or go to a previous version of iot-trucking app on github.
Hope this helps.
Created 01-18-2017 07:54 PM
Hi @Roger Young,
New dependencies have been added and the install procedure has not been updated accordingly. You have two options: build the new dependency (in this case, the schema registry that you can find here: https://github.com/hortonworks/registry/tree/master/schema-registry), or go to a previous version of iot-trucking app on github.
Hope this helps.
Created 01-19-2017 10:49 AM
Hi @Pierre Villard. Thanks for the reply. Thats unfortunate, i was following this tutorial, https://github.com/georgevetticaden/hdp/tree/master/reference-apps/iot-trucking-app.
I will attempt a previous version. Thank you