UNRESOLVED DEPENDENCIES

View: New views
2 Messages — Rating Filter:   Alert me  

UNRESOLVED DEPENDENCIES

by dgh1 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I ran into  problem and get below error message

ivy:retrieve]  problem while downloading module descriptor:
http://fortytwo.net/maven2/net/fortytwo/sesametools/sesametools-all/1.6/sesametools-all-1.6.pom:
invalid sha1: expected=02bf20f64e8b46356ede7b0f57a9ad05f87a06c
computed=c32d73de6bc989829b4ab136607b6f9060724de1 (347ms)


When this happens I get BUILD FAILED and no jars are put into the lib.
 However,  it did find a number of other jars but did not put them in the
lib because of this one failure.

Question:  Is there a way to get the build to NOT FAIL (ignore
the unresolved dependence)  or  just download the jars that it found and
indeed put them in the lib directory.

Thanks in advance for any help on this.

Re: UNRESOLVED DEPENDENCIES

by Nicolas Lalevée :: Rate this Message:

| View Threaded | Show Only this Message


Le 20 juin 2012 à 18:11, Dale Herrig a écrit :

> Hi,
>
> I ran into  problem and get below error message
>
> ivy:retrieve]  problem while downloading module descriptor:
> http://fortytwo.net/maven2/net/fortytwo/sesametools/sesametools-all/1.6/sesametools-all-1.6.pom:
> invalid sha1: expected=02bf20f64e8b46356ede7b0f57a9ad05f87a06c
> computed=c32d73de6bc989829b4ab136607b6f9060724de1 (347ms)
>
>
> When this happens I get BUILD FAILED and no jars are put into the lib.
> However,  it did find a number of other jars but did not put them in the
> lib because of this one failure.
>
> Question:  Is there a way to get the build to NOT FAIL (ignore
> the unresolved dependence)  or  just download the jars that it found and
> indeed put them in the lib directory.
>
> Thanks in advance for any help on this.

The jars there doesn't match the described sha1, so there might be some corrupted data, either the checksum or the jar.

If you want to bypass that, you can set the attribute checksums="" to force to not check the sha1. You can also set it via a property: ivy.checksums
see:
http://ant.apache.org/ivy/history/latest-milestone/settings/resolvers.html#common
http://ant.apache.org/ivy/history/latest-milestone/concept.html#checksum

Nicolas