1 Reply Latest reply on Aug 17, 2007 3:41 PM by Thiago Morello

    Problem building seam project

    Thiago Morello Newbie

      I'm having a problem when trying to build the seam project i just checked out from cvs.
      Can anybody help me?
      Thanks

      Buildfile: /srv/tlon/jboss-seam/build.xml
      initcore:
       [echo] Build JBoss Seam Core 2.0
      select-compiler:
      antlr:
      compilecore:
       [javac] Compiling 26 source files to /srv/tlon/jboss-seam/classes/coreclasses
      jarcore:
      initpdf:
       [echo] Build JBoss Seam PDF 2.0
       [mkdir] Created dir: /srv/tlon/jboss-seam/classes/pdfclasses
       [copy] Copying 4 files to /srv/tlon/jboss-seam/classes/pdfclasses
      installExtraDependencies:
      [artifact:install] [INFO] Installing /srv/tlon/jboss-seam/lib/jboss-cache-jdk50.jar to /home/thiago.morello/.m2/repository/jboss/jboss-cache-jdk50/1.4.1.GA-jboss-seam-2.0.0.BETA/jboss-cache-jdk50-1.4.1.GA-jboss-seam-2.0.0.BETA.jar
      [artifact:install] [INFO] Installing /srv/tlon/jboss-seam/lib/testng-5.6-jdk15.jar to /home/thiago.morello/.m2/repository/org/testng/testng/5.6-jboss-seam-2.0.0.BETA/testng-5.6-jboss-seam-2.0.0.BETA.jar
      [artifact:install] [INFO] Installing /srv/tlon/jboss-seam/lib/jbpm-jpdl.jar to /home/thiago.morello/.m2/repository/jboss/jbpm-jpdl/3.2.1-jboss-seam-2.0.0.BETA/jbpm-jpdl-3.2.1-jboss-seam-2.0.0.BETA.jar
      init.m2:
      [artifact:install] [INFO] Installing /srv/tlon/jboss-seam/pom.xml to /home/thiago.morello/.m2/repository/org/jboss/seam/jboss-seam/2.0.0.BETA/jboss-seam-2.0.0.BETA.pom
      jarui:
      [artifact:install] [INFO] Installing /srv/tlon/jboss-seam/jboss-seam.jar to /home/thiago.morello/.m2/repository/org/jboss/seam/jboss-seam-core/2.0.0.BETA/jboss-seam-core-2.0.0.BETA.jar
       [echo] Installed jboss-seam-core pom
       [java] [INFO] Scanning for projects...
       [java] Downloading: http://repo1.maven.org/maven2/jboss/jboss-seam/2.0.0.BETA/jboss-seam-2.0.0.BETA.pom
       [java] [WARNING] Unable to get resource 'jboss:jboss-seam:pom:2.0.0.BETA' from repository central (http://repo1.maven.org/maven2)
       [java] [INFO] ------------------------------------------------------------------------
       [java] [ERROR] FATAL ERROR
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] Failed to resolve artifact.
       [java] GroupId: jboss
       [java] ArtifactId: jboss-seam
       [java] Version: 2.0.0.BETA
       [java] Reason: Unable to download the artifact from any repository
       [java] jboss:jboss-seam:pom:2.0.0.BETA
       [java] from the specified remote repositories:
       [java] central (http://repo1.maven.org/maven2)
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] Trace
       [java] org.apache.maven.reactor.MavenExecutionException: Cannot find parent: jboss:jboss-seam for project: jboss:jboss-seam-ui:jar:null
       [java] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
       [java] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
       [java] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
       [java] at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
       [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [java] at java.lang.reflect.Method.invoke(Method.java:585)
       [java] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       [java] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       [java] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       [java] at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
       [java] Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: jboss:jboss-seam for project: jboss:jboss-seam-ui:jar:null
       [java] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1198)
       [java] at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:697)
       [java] at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:431)
       [java] at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:195)
       [java] at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)
       [java] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)
       [java] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
       [java] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
       [java] ... 11 more
       [java] Caused by: org.apache.maven.project.ProjectBuildingException: POM 'jboss:jboss-seam' not found in repository: Unable to download the artifact from any repository
       [java] jboss:jboss-seam:pom:2.0.0.BETA
       [java] from the specified remote repositories:
       [java] central (http://repo1.maven.org/maven2)
       [java] at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:528)
       [java] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1194)
       [java] ... 18 more
       [java] Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
       [java] jboss:jboss-seam:pom:2.0.0.BETA
       [java] from the specified remote repositories:
       [java] central (http://repo1.maven.org/maven2)
       [java] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197)
       [java] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
       [java] at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:482)
       [java] ... 19 more
       [java] Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
       [java] at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:308)
       [java] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185)
       [java] ... 21 more
       [java] [INFO] ------------------------------------------------------------------------
       [java] [INFO] Total time: 1 second
       [java] [INFO] Finished at: Thu Aug 16 18:04:54 BRT 2007
       [java] [INFO] Final Memory: 1M/2M
       [java] [INFO] ------------------------------------------------------------------------
       [java] Java Result: 1
      
      BUILD FAILED
      /srv/tlon/jboss-seam/build.xml:409: Warning: Could not find file /srv/tlon/jboss-seam/ui/target/jboss-seam-ui.jar to copy.
      
      Total time: 15 seconds