+ " from=" + ivyFile + " to=" + pomFile, e);
}
}
private PomWriterOptions getPomWriterOptions() throws IOException {
PomWriterOptions options = new PomWriterOptions();
options.setConfs(splitConfs(conf)).setArtifactName(getArtifactName())
.setArtifactPackaging(getArtifactPackaging()).setPrintIvyInfo(isPrintIvyInfo())
.setDescription(getDescription()).setExtraDependencies(getDependencies())
.setTemplate(getTemplateFile());
if (!mappings.isEmpty()) {
options.setMapping(new PomWriterOptions.ConfigurationScopeMapping(getMappingsMap()));
}
if (headerFile != null) {
options.setLicenseHeader(FileUtil.readEntirely(getHeaderFile()));
}
return options;
}