}
private void updateKieModule(Artifact artifact, ReleaseId releaseId) {
ZipKieModule kieModule = new ZipKieModule(releaseId, artifact.getFile());
ResultsImpl messages = build(kieModule);
if ( messages.filterMessages(Message.Level.ERROR).isEmpty()) {
kieContainer.updateToVersion(releaseId);
}
}
private Collection<Artifact> scanForUpdates(Collection<DependencyDescriptor> dependencies) {