protected ReleaseId createKJarWithMultipleResources(String id,
String[] resources,
ResourceType[] types) throws IOException {
KieServices ks = KieServices.Factory.get();
KieModuleModel kproj = ks.newKieModuleModel();
KieFileSystem kfs = ks.newKieFileSystem();
for ( int i = 0; i < resources.length; i++ ) {
String res = resources[i];
String type = types[i].getDefaultExtension();