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.

Daniel B. Giffin wrote:
> the "mvn package" command isn't able to download the
> "maven-dependency-plugin" artifact, despite my making several attempts
> over a couple days.  (there is a note in the FAQ about the maven
> repository being flaky, but i don't know whether that's the problem
> here.)
> 
> (full error output below.)
> 
> this is the first time i've tried to build longwell, so i don't really
> know what i'm doing.    but maven seemed to be able to get a bunch of
> other components just fine.
> 
> thanks for any hints!
> 
> daniel
> 
> ---
> my box: Linux 2.6.20-16-generic #2 SMP Sun Sep 23 18:31:23 UTC 2007
> x86_64 GNU/Linux
> 
> # cd longwell-2.5.5
> # mvn package
> [INFO] Scanning for projects...
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Building SIMILE Longwell
> [INFO]    task-segment: [package]
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] snapshot
> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:
> checking for updates from aduna-snapshot-repo
> [INFO] snapshot
> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:
> checking for updates from simile.mit.edu
> Downloading: 
> http://repository.aduna-software.org/maven2-snapshots/org/apache/maven/plugins/maven-dependency-plugin/2.0-alpha-5-SNAPSHOT/maven-dependency-plugin-2.0-alpha-5-SNAPSHOT.pom
> Downloading: 
> http://simile.mit.edu/maven-proxy/org/apache/maven/plugins/maven-dependency-plugin/2.0-alpha-5-SNAPSHOT/maven-dependency-plugin-2.0-alpha-5-SNAPSHOT.pom
> [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: 3 seconds
> [INFO] Finished at: Mon Nov 05 17:16:03 PST 2007
> [INFO] Final Memory: 8M/20M
> [INFO] 
> ------------------------------------------------------------------------

-- 
Ryan Lee                  [EMAIL PROTECTED]
MIT CSAIL Research Staff  http://simile.mit.edu/
http://people.csail.mit.edu/ryanlee/
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to