// GTNPORTAL-3232: also include the portal.war so that the consumer can access the plugins
if (name.contains("wsrp-producer") || name.contains("portal.war")) {
ModuleSpecification moduleSpecification = du.getAttachment(Attachments.MODULE_SPECIFICATION);
synchronized (this) {
moduleSpecification.addLocalDependencies(loadedPluginsAsDependencies);
}
log.info("Adding " + loadedPluginsAsDependencies + " dependencies to WSRP producer module");
}
}
}