geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tommy <bit...@gmail.com>
Subject Re: can not build geronimo-2.1.2
Date Fri, 01 Aug 2008 11:27:31 GMT
thanks jason:
   I am newbie, i dont konw how to set local network , modify
setting.xml in maven?
   add repositorys ?

   could u tell me more detail?

   thanks!
tommy

On Fri, 2008-08-01 at 18:17 +0700, Jason Dillon wrote:
> Its a local network issue, as the file does exist here:
> 
>      http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.3/project-config-1.3.pom
> 
> --jason
> 
> 
> On Aug 1, 2008, at 5:47 PM, tommy wrote:
> 
> > hi all:
> >   I want to build geronimo-2.1.2,but faild with following error
> > tommy@debian:~/geronimo/server$ ls
> > assemblies    buildsupport    framework    NOTICE.txt  pom.xml
> > RELEASE_NOTES-2.1.2.txt  src        testsupport
> > BUILDING.txt  DISCLAIMER.txt  LICENSE.txt  plugins     README.txt
> > repository               testsuite
> > tommy@debian:~/geronimo/server$ mvn install
> > [INFO] Scanning for projects...
> > Downloading:
> > http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/project-config-1.3.pom
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.3/project-config-1.3.pom
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.geronimo.genesis.config
> > ArtifactId: project-config
> > Version: 1.3
> >
> > Reason: Unable to download the artifact from any repository
> >
> >  org.apache.geronimo.genesis.config:project-config:pom:1.3
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2),
> >  java.net (http://download.java.net/maven/1/),
> >  apache-snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository)
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> > org.apache.geronimo.genesis.config:project-config for project:
> > org.apache.geronimo:geronimo:pom:2.1.2 for project
> > org.apache.geronimo:geronimo:pom:2.1.2
> >        at
> > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
> >        at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
> >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >        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.apache.geronimo.genesis.config:project-config for
> > project: org.apache.geronimo:geronimo:pom:2.1.2 for project
> > org.apache.geronimo:geronimo:pom:2.1.2
> >        at
> > org
> > .apache
> > .maven
> > .project
> > .DefaultMavenProjectBuilder
> > .assembleLineage(DefaultMavenProjectBuilder.java:1370)
> >        at
> > org
> > .apache
> > .maven
> > .project
> > .DefaultMavenProjectBuilder
> > .buildInternal(DefaultMavenProjectBuilder.java:821)
> >        at
> > org
> > .apache
> > .maven
> > .project
> > .DefaultMavenProjectBuilder
> > .buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
> >        at
> > org
> > .apache
> > .maven
> > .project
> > .DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
> >        at
> > org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
> >        at
> > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
> >        at
> > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
> >        ... 11 more
> > Caused by: org.apache.maven.project.ProjectBuildingException: POM
> > 'org.apache.geronimo.genesis.config:project-config' not found in
> > repository: Unable to download the artifact from any repository
> >
> >  org.apache.geronimo.genesis.config:project-config:pom:1.3
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2),
> >  java.net (http://download.java.net/maven/1/),
> >  apache-snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository)
> > for project org.apache.geronimo.genesis.config:project-config
> >        at
> > org
> > .apache
> > .maven
> > .project
> > .DefaultMavenProjectBuilder
> > .findModelFromRepository(DefaultMavenProjectBuilder.java:603)
> >        at
> > org
> > .apache
> > .maven
> > .project
> > .DefaultMavenProjectBuilder
> > .assembleLineage(DefaultMavenProjectBuilder.java:1366)
> >        ... 17 more
> > Caused by:  
> > org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> > Unable to download the artifact from any repository
> >
> >  org.apache.geronimo.genesis.config:project-config:pom:1.3
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2),
> >  java.net (http://download.java.net/maven/1/),
> >  apache-snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository)
> >
> >        at
> > org 
> > .apache 
> > .maven 
> > .artifact 
> > .resolver 
> > .DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
> >        at
> > org 
> > .apache 
> > .maven 
> > .artifact 
> > .resolver 
> > .DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
> >        at
> > org 
> > .apache 
> > .maven 
> > .project 
> > .DefaultMavenProjectBuilder 
> > .findModelFromRepository(DefaultMavenProjectBuilder.java:556)
> >        ... 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:331)
> >        at
> > org 
> > .apache 
> > .maven 
> > .artifact 
> > .resolver 
> > .DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
> >        ... 20 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Fri Aug 01 18:44:36 CST 2008
> > [INFO] Final Memory: 1M/13M
> > [INFO]
> > ------------------------------------------------------------------------
> > tommy@debian:~/geronimo/server$
> >
> > please  help me.
> >
> > thanks
> > tommy
> >
> 


Mime
View raw message