getSettings(), ivyFile.toURL(), false);
PomModuleDescriptorWriter.write(md,
headerFile == null ? null : FileUtil.readEntirely(getHeaderFile()),
mappings.isEmpty()
? PomModuleDescriptorWriter.DEFAULT_MAPPING
: new ConfigurationScopeMapping(getMappingsMap()), pomFile);
} catch (MalformedURLException e) {
throw new BuildException("unable to convert given ivy file to url: " + ivyFile + ": "
+ e, e);
} catch (ParseException e) {
log(e.getMessage(), Project.MSG_ERR);