it looks like the repository ID being used is incorrect. There should
be a short, textual identifier, and then the full URL is the one given
above. It seems the URL has been duplicated in your case.

- Brett

2008/10/8 Andrew Ochsner <[EMAIL PROTECTED]>:
> Hi:
>
> I am trying to add Spring (as an example) as a dependency using Ant Tasks
> for Maven (inlining in the Ant build.xml).  I've been able to do this
> without any problems w/ other dependencies.  Here's the error I get:
>
> runtime-dependencies:
> [artifact:dependencies] [INFO] artifact org.springframework:spring-core:
> checking for updates from http://download.java.net/maven/2/
> [artifact:dependencies] An error has occurred while processing the Maven
> artifact tasks.
> [artifact:dependencies]  Diagnosis:
> [artifact:dependencies]
> [artifact:dependencies] Unable to resolve artifact: Unable to get dependency
> information: Unable to store local copy of metadata: Error updating group
> repository metadata
> [artifact:dependencies]   org.springframework:spring-core:jar:null
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   central (http://repo1.maven.org/maven2),
> [artifact:dependencies]   http://download.java.net/maven/2/ (
> http://download.java.net/maven/2/),
> [artifact:dependencies]   http://maven.restlet.org/ (
> http://maven.restlet.org/),
> [artifact:dependencies]   http://repo1.maven.org/maven2/ (
> http://repo1.maven.org/maven2/),
> [artifact:dependencies]   maven2-repository.dev.java.net (
> http://download.java.net/maven/2/)
> [artifact:dependencies] Path to dependency:
> [artifact:dependencies]     1) org.apache.maven:super-pom:jar:2.0
> [artifact:dependencies]     2) com.sun.jersey:jersey-spring:jar:0.9-ea
> [artifact:dependencies]
> [artifact:dependencies]
> [artifact:dependencies] C:\Documents and
> Settings\aochsner\.m2\repository\org\springframework\spring-core\maven-metadata-http:\
> download.java.net\maven\2\.xml (The filename, directory name, or volume
> label syntax is incorrect)
> [artifact:dependencies]
>
> BUILD FAILED
> D:\Work\ribbit\ribbit\build.xml:75: Unable to resolve artifact: Unable to
> get dependency information: Unable to store local copy of metadata: Error
> updating group repository metadata
>  org.springframework:spring-core:jar:null
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  http://download.java.net/maven/2/ (http://download.java.net/maven/2/),
>  http://maven.restlet.org/ (http://maven.restlet.org/),
>  http://repo1.maven.org/maven2/ (http://repo1.maven.org/maven2/),
>  maven2-repository.dev.java.net (http://download.java.net/maven/2/)
> Path to dependency:
>    1) org.apache.maven:super-pom:jar:2.0
>    2) com.sun.jersey:jersey-spring:jar:0.9-ea
>
>
> The errors seems to be that it tries to write to a directory w/ a colon ":"
> in it which is not allowed in Windows.  This task works fine on *nix.
>
> Any suggestions as to how to fix this or should I file a bug?
>
> Andy O
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to