ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: Overriding a bad checksum
Date Thu, 15 May 2008 18:25:39 GMT

Le 15 mai 08 à 20:14, Marshall Pierce a écrit :

> A handful of packages I'm trying to use have invalid md5 checksums  
> on repo1.maven.org, e.g.:
>
> [ivy:resolve] 	problem while downloading module descriptor: http://repo1.maven.org/maven2/org/apache/ws/commons/axiom/axiom-dom/1.2.7/axiom-dom-1.2.7.pom

> : invalid md5: expected=\7986af8834017fafae425331b9d2dc6f  
> computed=7986af8834017fafae425331b9d2dc6f (799ms)
>
> When I check the .md5 file (http://repo1.maven.org/maven2/org/apache/ws/commons/axiom/axiom-dom/1.2.7/axiom-dom-1.2.7.jar.md5

> ), sure enough, there is a spurious \ at the beginning. Clearly, the  
> file is actually valid, since the computed md5 would be the same as  
> the expected md5 if it didn't have the \ in front. How can I get the  
> resolver to ignore the "bad" md5?
>

You can set the variable ivy.checksums to "".

http://ant.apache.org/ivy/history/latest-milestone/configuration/resolvers.html#common
http://ant.apache.org/ivy/history/latest-milestone/concept.html#checksum

Nicolas


Mime
View raw message