You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by rjhazelwood <rj...@hotmail.com> on 2007/10/05 02:45:08 UTC
Checksum for maven-metadata.xml missing
I am using Archiva 1.0 Beta 2 (running on Tomcat 5.5.17) to proxy Maven
Central. I have a managed repository called "public" and have a proxy
connector from central (remote repository) to "public" repository.
When I use this repository for maven build, I see many checksum failed
warnings. (See Maven Debug)
e.g.
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml - IGNORING
Caused by: java.io.FileNotFoundException:
http://archiva.hazelwood.homelinux.com/repository/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml.sha1
When I browse to that artifact (e.g.
http://archiva.hazelwood.homelinux.com/repository/public/org/apache/maven/plugins/maven-clean-plugin/)
I see maven-metadata-central.xml, maven-metadata-central.xml.md5,
maven-metadata-central.xml.sha1, maven-metadata.xml.
What do I need to do, so that checksum for maven-metadata.xml are generated?
Ricky
http://www.nabble.com/file/p13051528/maven-debug.log Maven debug
--
View this message in context: http://www.nabble.com/Checksum-for-maven-metadata.xml-missing-tf4572395.html#a13051528
Sent from the archiva-users mailing list archive at Nabble.com.
Re: Checksum for maven-metadata.xml missing
Posted by Joakim Erdfelt <jo...@erdfelt.com>.
The recent maven-metadata.xml update routines are the reason for this.
It does download (from the destination) the maven-metadata.xml's
checksum files, but the metadata update routines change the contents,
and then don't update the checksum files. (my fault).
- Joakim
Maria Odea Ching wrote:
> Have you tried setting the checksum policy in the proxy connector to
> 'fix'?
>
> - Deng
>
> rjhazelwood wrote:
>> I am using Archiva 1.0 Beta 2 (running on Tomcat 5.5.17) to proxy Maven
>> Central. I have a managed repository called "public" and have a proxy
>> connector from central (remote repository) to "public" repository.
>>
>> When I use this repository for maven build, I see many checksum failed
>> warnings. (See Maven Debug)
>> e.g. [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
>> org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml -
>> IGNORING
>> Caused by: java.io.FileNotFoundException:
>> http://archiva.hazelwood.homelinux.com/repository/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml.sha1
>>
>> When I browse to that artifact (e.g.
>> http://archiva.hazelwood.homelinux.com/repository/public/org/apache/maven/plugins/maven-clean-plugin/)
>>
>> I see maven-metadata-central.xml, maven-metadata-central.xml.md5,
>> maven-metadata-central.xml.sha1, maven-metadata.xml. What do I need
>> to do, so that checksum for maven-metadata.xml are generated?
>> Ricky
>>
>> http://www.nabble.com/file/p13051528/maven-debug.log Maven debug
>
Re: Checksum for maven-metadata.xml missing
Posted by Maria Odea Ching <oc...@exist.com>.
Have you tried setting the checksum policy in the proxy connector to 'fix'?
- Deng
rjhazelwood wrote:
> I am using Archiva 1.0 Beta 2 (running on Tomcat 5.5.17) to proxy Maven
> Central. I have a managed repository called "public" and have a proxy
> connector from central (remote repository) to "public" repository.
>
> When I use this repository for maven build, I see many checksum failed
> warnings. (See Maven Debug)
> e.g.
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml - IGNORING
> Caused by: java.io.FileNotFoundException:
> http://archiva.hazelwood.homelinux.com/repository/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml.sha1
>
> When I browse to that artifact (e.g.
> http://archiva.hazelwood.homelinux.com/repository/public/org/apache/maven/plugins/maven-clean-plugin/)
> I see maven-metadata-central.xml, maven-metadata-central.xml.md5,
> maven-metadata-central.xml.sha1, maven-metadata.xml.
> What do I need to do, so that checksum for maven-metadata.xml are generated?
>
> Ricky
>
> http://www.nabble.com/file/p13051528/maven-debug.log Maven debug
>
Re: Checksum for maven-metadata.xml missing
Posted by Joakim Erdfelt <jo...@erdfelt.com>.
Yup.
This is a bug.
It is now filed as http://jira.codehaus.org/browse/MRM-533
- Joakim
rjhazelwood wrote:
> I am using Archiva 1.0 Beta 2 (running on Tomcat 5.5.17) to proxy Maven
> Central. I have a managed repository called "public" and have a proxy
> connector from central (remote repository) to "public" repository.
>
> When I use this repository for maven build, I see many checksum failed
> warnings. (See Maven Debug)
> e.g.
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml - IGNORING
> Caused by: java.io.FileNotFoundException:
> http://archiva.hazelwood.homelinux.com/repository/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml.sha1
>
> When I browse to that artifact (e.g.
> http://archiva.hazelwood.homelinux.com/repository/public/org/apache/maven/plugins/maven-clean-plugin/)
> I see maven-metadata-central.xml, maven-metadata-central.xml.md5,
> maven-metadata-central.xml.sha1, maven-metadata.xml.
> What do I need to do, so that checksum for maven-metadata.xml are generated?
>
> Ricky
>
> http://www.nabble.com/file/p13051528/maven-debug.log Maven debug
>