Kie scanner fails when loading kjar which was build using kie-maven-plugin. This problem appears in OSGI environment when running KIE scanner from blueprint. It fails with exception:
"Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: org.drools.core.rule.KieModuleMetaInfo"
It is possible to use reproducer from PR . To reproduce the issue uncomment kie-maven-plugin in "drools-karaf-itests-kjar". However, this issue is currently hidden by