repositoryPackageService.createModuleSnapshot(pkgA.getName(), "snapshotA1", false, "",false,"","","",false,"","",false,"");
ModuleItem pkgB = rulesRepository.createModule("scanForChangeInRepository",
"this is package scanForChangeInRepository");
AssetItem ruleB1 = pkgB.addAsset("ruleB1", "", null, AssetFormats.DRL);
ruleB1.updateContent("rule 'ruleA1' when org.drools.Person() then end");
ruleB1.checkin("version 1");
AssetItem ruleB2 = pkgB.addAsset("ruleB2", "", null, AssetFormats.DRL);
ruleB2.updateContent("rule 'ruleA2' when org.drools.Person() then end");
ruleB2.checkin("version 1");
repositoryPackageService.createModuleSnapshot(pkgB.getName(), "snapshotB1", false, "",false,"","","",false,"","",false,"");