On 30/10/10 14:18, bharath v wrote:
This is the full error stack ...

[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]   problem while downloading module descriptor:
http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom:
invalid sha1: expected=�

On Sat, Oct 30, 2010 at 6:43 PM, bharath v
<[email protected]>  wrote:
Hi ,

I am getting the error

http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom:
invalid sha1:  ..

Is it downloading the corrupt file or is there any other thing which I
need to take care of ??

I don't see this, so think something may have corrupted the file (a proxy server?) and now you are suffering as forced reloads aren't picking up the real version.

1. Try switching to a different repository from the list of maven repositories

http://repo1.maven.org/maven2/.meta/repository-metadata.xml

2. download the pom and see if its SHA1 is valid. The Sha1 I see from your URL is

16d74791c801c89b0071b1680ea0bc85c93417bb  junit-3.8.1.pom

3. Grabbing the artifact and checksumming it gives the same checksum
GET http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom | sha1sum
16d74791c801c89b0071b1680ea0bc85c93417bb  -

The sha1 is valid, you may have a bad POM that's being cached somewhere by infrastructure being over-helpful

-steve

Reply via email to