Daniel,

I had the same problem and changed the 2.0-alpha-5-SNAPSHOT dependency into 
2.0-alpha-4. Everything seems to work OK but I may be missing some subtleties.

An alternative is to add the snapshot repository to the pom (see 
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html)
 although if memory serves me correctly when I tried this I got other maven 
errors.

Hope that helps

N



> Date: Tue, 6 Nov 2007 11:23:34 -0800
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: persistent maven build problems in longwell-2.5.5
>
> thanks for looking into this!
>
> Ryan Lee wrote:
>> We think we've fixed this (thanks to Stefano), but you may have to clear
>> out some of the old cached files downloaded in previous uses. Remove
>> your ~/.m2/repository directory, which is just a local cache, and try
>> building it again. mvn will then re-download everything afresh.
>
> still no luck for me, i'm afraid. after removing ~/.m2/repository
> (and even starting over with a fresh longwell distribution directory),
> maven downloads a bunch of stuff but fails on the same component:
>
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-dependency-plugin
> Version: 2.0-alpha-5-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> org.apache.maven.plugins:maven-dependency-plugin:pom:2.0-alpha-5-SNAPSHOT
>
> from the specified remote repositories:
> aduna-repo (http://repository.aduna-software.org/maven2),
> central (http://repo1.maven.org/maven2),
> aduna-snapshot-repo (http://repository.aduna-software.org/maven2-snapshots),
> simile.mit.edu (http://simile.mit.edu/maven-proxy)
>
>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Tue Nov 06 11:09:02 PST 2007
> [INFO] Final Memory: 8M/21M
> [INFO] 
> ------------------------------------------------------------------------
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general

_________________________________________________________________
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to