geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bohn <joe.b...@earthlink.net>
Subject Re: Maven problem building trunk
Date Fri, 01 Sep 2006 20:01:21 GMT
Hi Jason,

Thanks for the response (I was hoping that you would still help out a 
windoze user) :-)  BTW, I'm setting up a mac to work on some, which 
might give me some personal relief on the windoze issues (not that I 
won't continue to see if we can improve the situation for all our other 
windoze users).

Back to this problem ... I had earlier looked for firewall settings that 
could be blocking this but didn't see any.  However, at your further 
prodding, I turned off the firewall entirely and the darn thing is 
running now :-) .  So there must be something in there causing grief. 
Thanks for the help!

Thanks,
Joe

Jason Dillon wrote:
> Can you hit http://people.apache.org/repo/m2-snapshot-repository?
> 
> These artifacts are published.
> 
> Got a firewall or proxy in the way?
> 
> Looks like that machine is having trouble downloading the file...  which 
> is causing the repo to get blacklisted.
> 
> --jason
> 
> 
> On Sep 1, 2006, at 12:31 PM, Joe Bohn wrote:
> 
>>
>> I've got another strange problem on just one machine while I don't  
>> see this problem on another.  This works fine on another machine.   
>> Somehow, when m2 attempts to download the genesis shapshot it's  
>> getting an error xferring the file which results in the apache- 
>> snapshots repo being blacklisted.   This happens *every time* on  this 
>> machine and I have no clue why.  It started happening  yesterday and 
>> hasn't worked since.
>>
>> I've done a fresh checkout, rebooted the machine, looked for  
>> suspicious things in hosts, and recreated my settings.xml as  
>> specified on the cwiki to try and eliminate any possible corruption  
>> but I still get the error below.  You can see that I'm doing a  
>> "bootstrap clean" so the m2 repo has been erased.
>>
>> Any ideas on what's going on or what else I can try?
>>
>>
>> C:\g>bootstrap clean
>> Buildfile: bootstrap.xml
>> init:
>> Starting bootstrap build...
>> clean:init:
>> Created dir: C:\Documents and Settings\bohn\.m2\repository
>> clean:full:
>> Cleaning (full)...
>> Deleting directory C:\Documents and Settings\bohn\.m2\repository
>> clean:
>> [INFO] Scanning for projects...
>> [INFO] snapshot org.apache.geronimo.genesis.config:project-config: 
>> 1.1-SNAPSHOT: checking for updates from apache-snapshots
>> [WARNING] repository metadata for: 'snapshot  
>> org.apache.geronimo.genesis.config:project-config:1.1-SNAPSHOT'  could 
>> not be retrieved from repository: apache-snapshots due to an  error: 
>> Error transferring file
>> [INFO] Repository 'apache-snapshots' will be blacklisted
>> [INFO]  
>> ---------------------------------------------------------------------- --
>> [ERROR] FATAL ERROR
>> [INFO]  
>> ---------------------------------------------------------------------- --
>> [INFO] Failed to resolve artifact.
>> GroupId: org.apache.geronimo.genesis.config
>> ArtifactId: project-config
>> Version: 1.1-SNAPSHOT
>> Reason: Unable to download the artifact from any repository
>>   org.apache.geronimo.genesis.config:project-config:pom:1.1-SNAPSHOT
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   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:geronim
>> o:pom:1.2-SNAPSHOT
>>         at org.apache.maven.DefaultMaven.getProjects 
>> (DefaultMaven.java:365)
>>         at org.apache.maven.DefaultMaven.doExecute 
>> (DefaultMaven.java:278)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 115)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>         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:324)
>>         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.gero
>> nimo:geronimo:pom:1.2-SNAPSHOT
>>         at  
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage 
>> (DefaultMavenProjectBuilder.java:1161)
>>         at  
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal 
>> (DefaultMavenProjectBuilder.java:674)
>>         at  
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFil 
>> eInternal(DefaultMavenProjectBuilder.java:416)
>>         at org.apache.maven.project.DefaultMavenProjectBuilder.build 
>> (DefaultMavenProjectBuilder.java:192)
>>         at org.apache.maven.DefaultMaven.getProject 
>> (DefaultMaven.java:515)
>>         at org.apache.maven.DefaultMaven.collectProjects 
>> (DefaultMaven.java:447)
>>         at org.apache.maven.DefaultMaven.getProjects 
>> (DefaultMaven.java:351)
>>         ... 11 more
>> Caused by: org.apache.maven.project.ProjectBuildingException: POM  
>> 'org.apache.geronimo.genesis.config:project-config' not found in  
>> repository: Unable to downloa
>> d the artifact from any repository
>>   org.apache.geronimo.genesis.config:project-config:pom:1.1-SNAPSHOT
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   apache-snapshots (http://people.apache.org/repo/m2-snapshot- 
>> repository)
>>         at  
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepos 
>> itory(DefaultMavenProjectBuilder.java:513)
>>         at  
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage 
>> (DefaultMavenProjectBuilder.java:1157)
>>         ... 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.1-SNAPSHOT
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   apache-snapshots (http://people.apache.org/repo/m2-snapshot- 
>> repository)
>>         at  
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve 
>> (DefaultArtifactResolver.java:136)
>>         at  
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve 
>> (DefaultArtifactResolver.java:63)
>>         at  
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepos 
>> itory(DefaultMavenProjectBuilder.java:467)
>>         ... 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:260)
>>         at  
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve 
>> (DefaultArtifactResolver.java:124)
>>         ... 20 more
>> [INFO]  
>> ---------------------------------------------------------------------- --
>> [INFO] Total time: 1 second
>> [INFO] Finished at: Fri Sep 01 14:42:18 EDT 2006
>> [INFO] Final Memory: 1M/2M
>> [INFO]  
>> ---------------------------------------------------------------------- --
>>
>> BUILD SUCCESSFUL
>> Total time: 5 seconds
> 
> 
> 
> 

Mime
View raw message