Red Hat Bugzilla – Bug 1007977
KieRepository doesn't check if there are new snapshot kjar deployed on the maven repo when creating a new KieContainer
Last modified: 2014-08-06 16:16:36 EDT
Description of problem:
When new snapshot kjar are deployed on a maven repo and the kiescanner is not enabled, a newly created kiecontainer referring to that snapshot releaseId actually uses the old kjar (cached in the KieRepository) instead of downloading the new one from the maven repo.
Steps to Reproduce:
A pull request reproducing this issue has been provided here:
The 2nd KieContainer uses the old kjar instead of downloading the new one deployed in the maven repository.
when creating a new KieContainer it should check if a new snapshot has been deployed in the maven repo and then use it.
Fixed by https://github.com/droolsjbpm/drools/commit/b09e981f1
Verified on BRMS 6.0.0.ER4.