You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "KARR, DAVID" <dk...@att.com> on 2013/10/31 16:44:55 UTC

How to deal with checksum errors on public artifacts?

I was building a "toy" application that we're using to start work on a prototype for something, and a build failed with an error like the following:

Could not transfer artifact org.ops4j.pax.runner:pax-runner-no-jcl:pom:1.4.0 from/to central (http://repo1.maven.org/maven2/): Checksum validation failed, expected e52cedb3dba50c26877a6b3d88a08f98703d82a4 but is 2406c868ae24a7f15c78aa362346afd6ba44ec22 -> [Help 1]

This seems like it's saying that the artifact on Maven Central is corrupted.  I tried manually downloading this artifact from Maven Central, but the md5 sum (I don't know if the algorithm used above is md5 or something else) comes out to neither of those values.

I could use some more background on this, including what I should do to fix this (if I can do anything).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: How to deal with checksum errors on public artifacts?

Posted by Mirko Friedenhagen <mf...@gmail.com>.
David,

you should open a bug for this on issues.sonatype.org. They will fix the
checksums.

Regards Mirko
-- 
Sent from my mobile
On Oct 31, 2013 5:34 PM, "KARR, DAVID" <dk...@att.com> wrote:

> > -----Original Message-----
> > From: anders.g.hammar@gmail.com [mailto:anders.g.hammar@gmail.com] On
> Behalf
> > Of Anders Hammar
> > Sent: Thursday, October 31, 2013 9:04 AM
> > To: Maven Users List
> > Subject: Re: How to deal with checksum errors on public artifacts?
> >
> > It's the sha1 checksum. The file pax-runner-no-jcl-1.4.0.pom.sha1 says
> the
> > checksum is e52cedb3dba50c26877a6b3d88a08f98703d82a4. This could be
> wrong.
> > There are several newer versions, try one of them and see if they have
> > correct metadata.
>
> Ah, the pom.  I was checking the jar.
>
> How do I tell what checksum is expected?  Can I see that on MavenCentral (
> http://search.maven.org)?
>
> > You could also configure Maven to ignore checksum errors. That is the
> > default, so I assume you have reconfigured that?
>
> You're suggesting I turn off checksum validation for artifacts downloaded
> from the public internet? :)
>
> Yes, we have checksum validation on.
>
> > On Thu, Oct 31, 2013 at 4:44 PM, KARR, DAVID <dk...@att.com> wrote:
> >
> > > I was building a "toy" application that we're using to start work on a
> > > prototype for something, and a build failed with an error like the
> > > following:
> > >
> > > Could not transfer artifact
> > > org.ops4j.pax.runner:pax-runner-no-jcl:pom:1.4.0 from/to central (
> > > http://repo1.maven.org/maven2/): Checksum validation failed, expected
> > > e52cedb3dba50c26877a6b3d88a08f98703d82a4 but is
> > > 2406c868ae24a7f15c78aa362346afd6ba44ec22 -> [Help 1]
> > >
> > > This seems like it's saying that the artifact on Maven Central is
> > > corrupted.  I tried manually downloading this artifact from Maven
> Central,
> > > but the md5 sum (I don't know if the algorithm used above is md5 or
> > > something else) comes out to neither of those values.
> > >
> > > I could use some more background on this, including what I should do to
> > > fix this (if I can do anything).
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

RE: How to deal with checksum errors on public artifacts?

Posted by "KARR, DAVID" <dk...@att.com>.
> -----Original Message-----
> From: anders.g.hammar@gmail.com [mailto:anders.g.hammar@gmail.com] On Behalf
> Of Anders Hammar
> Sent: Thursday, October 31, 2013 9:04 AM
> To: Maven Users List
> Subject: Re: How to deal with checksum errors on public artifacts?
> 
> It's the sha1 checksum. The file pax-runner-no-jcl-1.4.0.pom.sha1 says the
> checksum is e52cedb3dba50c26877a6b3d88a08f98703d82a4. This could be wrong.
> There are several newer versions, try one of them and see if they have
> correct metadata.

Ah, the pom.  I was checking the jar.

How do I tell what checksum is expected?  Can I see that on MavenCentral (http://search.maven.org)?

> You could also configure Maven to ignore checksum errors. That is the
> default, so I assume you have reconfigured that?

You're suggesting I turn off checksum validation for artifacts downloaded from the public internet? :)

Yes, we have checksum validation on.

> On Thu, Oct 31, 2013 at 4:44 PM, KARR, DAVID <dk...@att.com> wrote:
> 
> > I was building a "toy" application that we're using to start work on a
> > prototype for something, and a build failed with an error like the
> > following:
> >
> > Could not transfer artifact
> > org.ops4j.pax.runner:pax-runner-no-jcl:pom:1.4.0 from/to central (
> > http://repo1.maven.org/maven2/): Checksum validation failed, expected
> > e52cedb3dba50c26877a6b3d88a08f98703d82a4 but is
> > 2406c868ae24a7f15c78aa362346afd6ba44ec22 -> [Help 1]
> >
> > This seems like it's saying that the artifact on Maven Central is
> > corrupted.  I tried manually downloading this artifact from Maven Central,
> > but the md5 sum (I don't know if the algorithm used above is md5 or
> > something else) comes out to neither of those values.
> >
> > I could use some more background on this, including what I should do to
> > fix this (if I can do anything).
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to deal with checksum errors on public artifacts?

Posted by Anders Hammar <an...@hammar.net>.
It's the sha1 checksum. The file pax-runner-no-jcl-1.4.0.pom.sha1 says the
checksum is e52cedb3dba50c26877a6b3d88a08f98703d82a4. This could be wrong.
There are several newer versions, try one of them and see if they have
correct metadata.

You could also configure Maven to ignore checksum errors. That is the
default, so I assume you have reconfigured that?

/Anders


On Thu, Oct 31, 2013 at 4:44 PM, KARR, DAVID <dk...@att.com> wrote:

> I was building a "toy" application that we're using to start work on a
> prototype for something, and a build failed with an error like the
> following:
>
> Could not transfer artifact
> org.ops4j.pax.runner:pax-runner-no-jcl:pom:1.4.0 from/to central (
> http://repo1.maven.org/maven2/): Checksum validation failed, expected
> e52cedb3dba50c26877a6b3d88a08f98703d82a4 but is
> 2406c868ae24a7f15c78aa362346afd6ba44ec22 -> [Help 1]
>
> This seems like it's saying that the artifact on Maven Central is
> corrupted.  I tried manually downloading this artifact from Maven Central,
> but the md5 sum (I don't know if the algorithm used above is md5 or
> something else) comes out to neither of those values.
>
> I could use some more background on this, including what I should do to
> fix this (if I can do anything).
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>