if ( rootPath.lastIndexOf( ':' ) > 0 ) {
rootPath = configFilePath.substring( rootPath.lastIndexOf( ':' ) + 1 );
}
KieBuilderImpl.setDefaultsforEmptyKieModule(kieModuleModel);
InternalKieModule internalKieModule = ClasspathKieProject.createInternalKieModule(configFileURL, configFilePath, kieModuleModel, releaseId, rootPath);
if ( internalKieModule != null ) {
KieServices ks = KieServices.Factory.get();
ks.getRepository().addKieModule(internalKieModule);
log.info(" :: Added KieModule From KieObjectsInjector ::");
}