}
public void resolve(Module module, IvyManager ivyManager) throws IvySettingsNotFoundException, IvyFileReadException, IvySettingsFileReadException {
final File ivyFile = IvyUtil.getIvyFile(module);
if (ivyFile == null) {
throw new IvyFileReadException(null, module.getName(), null);
}
final Ivy ivy = ivyManager.getIvy(module);
try {
final ResolveReport resolveReport = ivy.resolve(ivyFile.toURI().toURL(), IvyIdeaConfigHelper.createResolveOptions(module));
extractDependencies(ivy, resolveReport, new IntellijModuleDependencies(module, ivyManager));
} catch (ParseException e) {
throw new IvyFileReadException(ivyFile.getAbsolutePath(), module.getName(), e);
} catch (IOException e) {
throw new IvyFileReadException(ivyFile.getAbsolutePath(), module.getName(), e);
}
}