4 Replies Latest reply on Dec 17, 2013 12:47 PM by Jeffery Kuhn

    Non-resolvable parent POM: Failure to find org.jboss.teiid:teiid-parent:pom:8.6.0.Beta2

    Jeffery Kuhn Newbie

      I'm new to teeid, and trying to work through understanding some of the quickstarts, but I'm getting a few errors. I'm also new to maven, so that may be part of my problem too.

       

      This is the error i'm getting when trying to clean and compile anything from the quickstarts section. The pom.xml is as I got it from github. I tried modifying it to add a relativePath tag, in the parent section, but that didn't help. (I'm sure i may have been doing it wrong too since maven is new to me). Any pointers would be appreciated in getting me started.

       

       

      Here is the beginning of the pom.xml:

      <?xml version="1.0" encoding="UTF-8"?>

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

          <parent>

              <groupId>org.jboss.teiid</groupId>

              <artifactId>teiid-parent</artifactId>

              <version>8.6.0.Beta2</version>

          </parent>

          <modelVersion>4.0.0</modelVersion>

          <groupId>org.jboss.teiid.quickstart</groupId>

          <artifactId>teiid-quickstart-parent</artifactId>

          <packaging>pom</packaging>

          <version>2.0.0</version>

          <name>Teiid Quickstart Parent</name>

          <description>Quickstarts for the Teiid project</description>

          ...........

       

      Here is the errors I get when running a compile.

      C:\Users\jefferyk\My Documents\GitHub\teiid-quickstarts>mvn clean compile -e

      [INFO] Error stacktraces are turned on.

      [INFO] Scanning for projects...

      [ERROR] The build could not read 1 project -> [Help 1]

      org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:

      [FATAL] Non-resolvable parent POM: Failure to find org.jboss.teiid:teiid-parent:pom:8.6.0.Beta2 in http://repo.maven.apa

      che.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of centr

      al has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 10

       

              at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364)

              at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:637)

              at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:586)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:229)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)

              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)

              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)

              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:289)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

      [ERROR]

      [ERROR]   The project org.jboss.teiid.quickstart:teiid-quickstart-parent:2.0.0 (C:\Users\jefferyk\My Documents\GitHub\te

      iid-quickstarts\pom.xml) has 1 error

      [ERROR]     Non-resolvable parent POM: Failure to find org.jboss.teiid:teiid-parent:pom:8.6.0.Beta2 in http://repo.maven

      .apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of c

      entral has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Hel

      p 2]

      org.apache.maven.model.resolution.UnresolvableModelException: Failure to find org.jboss.teiid:teiid-parent:pom:8.6.0.Bet

      a2 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until t

      he update interval of central has elapsed or updates are forced

              at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:159)

              at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:817)

              at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:669)

              at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:307)

              at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411)

              at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:380)

              at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:344)

              at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:637)

              at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:586)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:229)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)

              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)

              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)

              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:289)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find org.jboss.teiid:teiid-parent:pom:8

      .6.0.Beta2 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted

      until the update interval of central has elapsed or updates are forced

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)

              at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295)

              at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:155)

              ... 21 more

      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.jboss.teiid:teiid-parent:pom:8.6.0

      .Beta2 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted unt

      il the update interval of central has elapsed or updates are forced

              at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)

              at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)

              ... 25 more

      [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