struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Mitchell <jmitc...@gmail.com>
Subject Re: can't build Struts 2 ...
Date Fri, 01 Jun 2007 10:22:43 GMT
Are you behind a firewall?  It looks like you do not have a proxy set  
for Maven.


--
James Mitchell



On Jun 1, 2007, at 6:12 AM, Giovanni Azua wrote:

> Hi!
>
> Thanks for the quick response!
>
> It does not help ...
>
> I still get:
>
> [INFO] Scanning for projects...
> Downloading: http://ftp.ggi-project.org/pub/packages/maven2/org/ 
> apache/apache/3/apache-3.pom
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] FATAL ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.struts:struts-master:pom:5-SNAPSHOT
>
> Reason: Cannot find parent: org.apache:apache for project:  
> org.apache.struts:struts-master:pom:5-SNAPSHOT
>
>
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find  
> parent: org.apache:apache for project: org.apache.struts:struts- 
> master:pom:5-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:apache for project:  
> org.apache.struts:struts-master:pom:5-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.buildFromSourceFil 
> eInternal(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:apache' not found in repository: Unable to download the  
> artifact from any repository
>
>  org.apache:apache:pom:3
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
> at  
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepos 
> itory(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:apache:pom:3
>
> 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.findModelFromRepos 
> itory(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:11:42 CEST 2007
> [INFO] Final Memory: 1M/4M
> [INFO]  
> ---------------------------------------------------------------------- 
> --
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message