Ivy ivy = getIvy(logger);
HashMap<ModuleDescriptor, String> moduleDescriptors = new HashMap<ModuleDescriptor, String>();
for (String ivyFilePath : ivyFiles.getDirectoryScanner().getIncludedFiles()) {
final File ivyFile = new File(ws, ivyFilePath);
ModuleDescriptor module = (ModuleDescriptor) ivy.execute(new IvyCallback() {
public Object doInIvyContext(Ivy ivy, IvyContext context) {
try {
return ModuleDescriptorParserRegistry.getInstance().parseDescriptor(ivy.getSettings(), ivyFile.toURI().toURL(),
ivy.getSettings().doValidate());
} catch (MalformedURLException e) {