.writeKModuleXML(kproj.toXML())
.writePomXML(getPom(releaseId))
.write("src/main/resources/" + kieBaseModel1.getName() + "/rule1.drl", createDRLForJavaSource(value))
.write("src/main/java/org/kie/test/Bean.java", createJavaSource(factor));
KieBuilder kieBuilder = ks.newKieBuilder(kieFileSystem);
assertTrue(kieBuilder.buildAll().getResults().getMessages().isEmpty());
return ( InternalKieModule ) kieBuilder.getKieModule();
}