Caused by: java.lang.RuntimeException: Cannot find KieModule: org.default:artifact:1.0.0-SNAPSHOT
public KieModule getKieModule(ReleaseId releaseId, byte[] pomXml) {
VersionRange versionRange = new VersionRange(releaseId.getVersion());
KieModule kieModule = kieModuleRepo.load(releaseId, versionRange);
if ( kieModule == null ) {
log.debug( "KieModule Lookup. ReleaseId {} was not in cache, checking classpath",
releaseId.toExternalForm() );
kieModule = checkClasspathForKieModule(releaseId);
}
if ( kieModule == null ) {
log.debug( "KieModule Lookup. ReleaseId {} was not in cache, checking maven repository",
releaseId.toExternalForm() );
kieModule =
loadKieModuleFromMavenRepo
loadKieModuleFromMavenRepo(releaseId, pomXml);
}
return kieModule;
}
and loadKieModuleFromMavenRepo() does not find the resource as it has been created from scratch
Regards,