throw new BuildException("destination ivy file is required for convertpom task");
}
ModuleDescriptor md = PomModuleDescriptorParser.getInstance().parseDescriptor(
getSettings(), pomFile.toURL(), false);
PomModuleDescriptorParser.getInstance().toIvyFile(pomFile.toURL().openStream(),
new URLResource(pomFile.toURL()), getIvyFile(), md);
} catch (MalformedURLException e) {
throw new BuildException("unable to convert given pom file to url: " + pomFile + ": "
+ e, e);
} catch (ParseException e) {
log(e.getMessage(), Project.MSG_ERR);