final List<Element> databaseResources = XmlUtils.findElements(
jdbcDatabase.getConfigPrefix() + "/resources/resource",
configuration);
for (final Element resourceElement : databaseResources) {
resources.add(new Resource(resourceElement));
}
final List<Element> ormResources = XmlUtils.findElements(
ormProvider.getConfigPrefix() + "/resources/resource",
configuration);
for (final Element resourceElement : ormResources) {
resources.add(new Resource(resourceElement));
}
for (final Resource resource : resources) {
projectOperations.addResource(moduleName, resource);
}