You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Steve Loughran <st...@apache.org> on 2010/11/01 11:50:33 UTC

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

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
> <bh...@gmail.com>  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


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

Posted by bharath v <bh...@gmail.com>.
Hi steve,

I am behind my college proxy .. That might be creating these problems
.. I solved it by changing the version of ivy that needs to be fetched
... Anyways thanks for your reply.

Thanks

Bharath.V
4th year undergraduate,
IIIT Hyderabad.

On Mon, Nov 1, 2010 at 4:20 PM, Steve Loughran <st...@apache.org> wrote:
> 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
>> <bh...@gmail.com>  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
>
>