entries.putAll(replaceEntries);
}
props.put("content_replacements", entries);
props.put("file", file.getAbsoluteFile());
WordPressImporter importer = new WordPressImporter();
try {
Site site = siteManager.createSite(siteDir);
importer.doImport(site, props);
} catch (ImportException e) {
throw new MojoFailureException(e.getMessage());
}
}