Also worth checking which version of Maven you are using?

On 14/06/2012, at 11:00 PM, Jesse Farinacci wrote:

> Greetings,
> 
> On Thu, Jun 14, 2012 at 2:31 AM, Brett Porter <[email protected]> wrote:
>> I started to see the same thing recently, but not all the time. I need a 
>> closer look.
>> 
>> A couple of things to confirm:
>> - is the checksum on disk correct (the .sha1 file in the archiva repository 
>> alongside the artifact)?
> 
> I'm not sure.. there are many instances of that artifact. I don't find
> anything in the archiva.log which indicates an error, so this seems to
> be an archiva->maven client problem
> 
>> - do you have the checksum correction consumer enabled or disabled?
> 
> More complete details below, however 'create-missing-checksums' was
> enabled but 'validate-checksums' was not.
> 
>> - is this repository proxying another, and if so, what is its checksum 
>> policy?
> 
> Yes, it is proxying many other repositories. I believe they are all set to
> 
>> This looks like it's on the maven-metadata.xml file for stax/stax-api, but 
>> it doesn't correlate to the one in the main maven repositories. Perhaps the 
>> metadata and its checksum are out of sync?
> 
> Previously, we had all consumers enabled except 'repository-purge' and
> 'validate-checksums'. I've enabled both of those now, so hopefully
> that can fix the problem. Here's the current table:
> 
> Enabled?      ID      Description
> enabled       auto-remove     Automatically Remove File from Filesystem.
> enabled       auto-rename     Automatically rename common artifact mistakes.
> enabled       create-archiva-metadata Create basic metadata for Archiva to
> be able to reference the artifact
> enabled       create-missing-checksums        Create Missing and/or Fix 
> Invalid
> Checksums (.sha1, .md5)
> enabled       duplicate-artifacts     Check for Duplicate Artifacts via SHA1 
> Checksums
> enabled       index-content   Indexes the repository to provide search and IDE
> integration features
> enabled       metadata-updater        Update / Create maven-metadata.xml files
> enabled       repository-purge        Purge repository of old snapshots
> enabled       validate-checksums      Validate checksums against file.
> 
> Lots of stuff is being purged at present. I'll let it go through a few
> hours of catch up, and then try again.
> 
> -Jesse
> 
> -- 
> There are 10 types of people in this world, those
> that can read binary and those that can not.

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter
http://twitter.com/brettporter





Reply via email to