checkUpdateDRLInSameSession(drl1, drl2);
}
private void checkUpdateDRLInSameSession(String drl1, String drl2) throws IOException {
KieServices ks = KieServices.Factory.get();
ReleaseId releaseId = ks.newReleaseId("org.kie", "scanner-test", "1.0-SNAPSHOT");
InternalKieModule kJar1 = createKieJarFromDrl(ks, releaseId, drl1);
MavenRepository repository = getMavenRepository();
repository.deployArtifact(releaseId, kJar1, kPom);