4 Replies Latest reply on Jan 19, 2008 5:24 PM by Pete Muir

    beginner question

    gurka Newbie

      I downloaded CR1 - deployed a few examples, etc. All works fine.

      I tried doing a maven eclipse so I can open up a ready made project in eclipse and I get:

      mvn eclipse:eclipse
      [INFO] Scanning for projects...
      Downloading: http://repo1.maven.org/maven2/org/jboss/seam/parent/@seam.version@/parent-@seam.version@.pom
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.
      
      GroupId: org.jboss.seam
      ArtifactId: parent
      Version: @seam.version@
      
      Reason: Unable to download the artifact from any repository
      
       org.jboss.seam:parent:pom:@seam.version@
      
      from the specified remote repositories:
       central (http://repo1.maven.org/maven2)
      
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jboss.seam:parent for project: org.jboss.seam.examples:jboss-seam-dvd:ear:null
       at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jboss.seam:parent for project: org.jboss.seam.examples:jboss-seam-dvd:ear:null
       at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1264)
       at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:749)
       at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:479)
       at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
       at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:537)
       at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
       at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
       ... 11 more
      Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jboss.seam:parent' not found in repository: Unable to download the artifact from any repository
      
       org.jboss.seam:parent:pom:@seam.version@
      
      from the specified remote repositories:
       central (http://repo1.maven.org/maven2)
      
       at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573)
       at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1260)
       ... 17 more
      Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
      
       org.jboss.seam:parent:pom:@seam.version@
      
      from the specified remote repositories:
       central (http://repo1.maven.org/maven2)
      
       at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197)
       at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
       at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526)
       ... 18 more
      Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
       at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324)
       at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185)
       ... 20 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: < 1 second
      [INFO] Finished at: Fri Jan 18 12:09:36 EST 2008
      [INFO] Final Memory: 1M/2M
      [INFO] ------------------------------------------------------------------------