Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19892

Ambari fails to build on 2.5.0.0 if version is not forced

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • 2.5.0
    • None
    • None

    Description

      [ERROR]
      [ERROR] The project org.apache.ambari:ambari-infra-solr-plugin:2.0.0.0-SNAPSHOT (/home/user/ambari/ambari-logsearch/ambari-infra-solr-plugin/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM for org.apache.ambari:ambari-project:2.0.0.0-SNAPSHOT: Could not find artifact org.apache.ambari:ambari:pom:2.5.0.0.0 in apache-hadoop (http://repo.hortonworks.com/content/groups/public/) @ org.apache.ambari:ambari-project:2.0.0.0-SNAPSHOT, /home/user/.m2/repository/org/apache/ambari/ambari-project/2.0.0.0-SNAPSHOT/ambari-project-2.0.0.0-SNAPSHOT.pom, line 18, column 11 -> [Help 2]
      org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.apache.ambari:ambari:pom:2.5.0.0.0 in apache-hadoop (http://repo.hortonworks.com/content/groups/public/)
      at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:159)
      at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:813)
      at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:685)
      at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310)
      at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:410)
      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379)
      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:495)
      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379)
      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:495)
      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379)
      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:343)
      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636)
      at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234)
      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.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.ambari:ambari:pom:2.5.0.0.0 in apache-hadoop (http://repo.hortonworks.com/content/groups/public/)
      at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
      at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
      at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
      at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
      at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:155)
      ... 26 more
      Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache.ambari:ambari:pom:2.5.0.0.0 in apache-hadoop (http://repo.hortonworks.com/content/groups/public/)
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:947)
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
      at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
      [ERROR]
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aonishuk Andrew Onischuk
            aonishuk Andrew Onischuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment