struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giovanni Azua" <brave...@hotmail.com>
Subject can't build Struts 2 ...
Date Fri, 01 Jun 2007 10:04:07 GMT
Hi all,

After following the simple instructions under page:
http://struts.apache.org/dev/builds.html

I get the maven errors bellow.

TIA,
regards,
Giovanni

[INFO] Scanning for projects...
Downloading: http://maven.opensymphony.com/org.apache.struts/poms/struts-master-4.pom
Downloading: http://ftp.ggi-project.org/pub/packages/maven2/org/apache/struts/struts-master/4/struts-master-4.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.struts:struts2-parent:pom:2.1.0-SNAPSHOT

Reason: Cannot find parent: org.apache.struts:struts-master for project: org.apache.struts:struts2-parent:pom:2.1.0-SNAPSHOT


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.struts:struts-master
for project: org.apache.struts:struts2-parent:pom:2.1.0-SNAPSHOT
 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:597)
 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.apache.struts:struts-master
for project: org.apache.struts:struts2-parent:pom:2.1.0-SNAPSHOT
 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.apache.struts:struts-master'
not found in repository: Unable to download the artifact from any repository

  org.apache.struts:struts-master:pom:4

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  opensymphony (http://maven.opensymphony.com),
  central (http://repo1.maven.org/maven2),
  snapshots-maven-codehaus (http://snapshots.maven.codehaus.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.apache.struts:struts-master:pom:4

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  opensymphony (http://maven.opensymphony.com),
  central (http://repo1.maven.org/maven2),
  snapshots-maven-codehaus (http://snapshots.maven.codehaus.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 Jun 01 12:03:44 CEST 2007
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message