* Note: the method signature is way too long, we should use a class to store the settings of the resolve.
*/
public ResolveReport resolve(ModuleDescriptor md, ResolveOptions options) throws ParseException, IOException, FileNotFoundException {
DependencyResolver oldDictator = getDictatorResolver();
if (options.isUseCacheOnly()) {
setDictatorResolver(new CacheResolver(_settings));
}
try {
CacheManager cacheManager = options.getCache();
if (cacheManager == null) { // ensure that a cache is configured
cacheManager = IvyContext.getContext().getCacheManager();