Support Questions

Find answers, ask questions, and share your expertise

Build failing at trucking-data-simulator

avatar
Expert Contributor

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


1 ACCEPTED SOLUTION

avatar

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.

View solution in original post

2 REPLIES 2

avatar

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.

avatar
Expert Contributor

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