Description
When haltonfailure is set to false and there is an ivy failure, the resolve task should set a property with the name given as a parameter failureproperty. (similar to the junit task behavior).
This would allow to trigger some specific ant scripts when some dependency are missing.
For a concrete example of applicability, I have a big project with a lot of submodules. I want to speed up the build by retrieving all the external dependencies once (when the build is launched at the root level), and then switch in an offline mode to only use the cache and the locally build module.
To do that, I have an ivy file at the root level containing each submodule as dependency. When performing an 'online" resolve, the ivy files of the submodules are taken from our continuous build repository, and the external ivy/jar dependant of this sub-module are also placed in the cache.
That works correctly, except if the continuous repository is empty (or down). In that case, I should not switch to an offline mode.