Have you tried it with a version other than LATEST? I think that there was a bug that was fixed in 6.1 that prevented the latest keyword from working correctly. Try a SNAPSHOT or a version range.
-----Original Message----- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of SrjTx Sent: Wednesday, March 19, 2014 1:28 PM To: rules-users@lists.jboss.org Subject: [rules-users] 6.0.1.F How to set Maven repo used by KieScanner? I am doing the following, but no rules ever fire. I suspect the maven repo location is not right -and that no rules are getting loaded - how do I set it? I am using /root/.m2/repository It would be the programmatic equivalent of -Dorg.guvnor.m2repo.dir=/root/.m2/repository" Also, how do you list the rules that are in the base? I see there is a getRule(...), but no getRules. kieServices = KieServices.Factory.get(); releaseId = kieServices.newReleaseId("com.xyz.policy", "cep", "LATEST"); kieContainer = kieServices.newKieContainer(releaseId); kieBase = kieContainer.newKieBase(config); kieSession = kieBase.newKieSession(); kieSession.addEventListener((RuleRuntimeEventListener) this); kieScanner = kieServices.newKieScanner(kieContainer); kieScanner.start(10000L); -- View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-How-to-set-Maven-repo-used-by-KieScanner-tp4028804.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users