tkobayas opened a new issue, #6212: URL: https://github.com/apache/incubator-kie-drools/issues/6212
When you build a kjar which requires `drools-tms` (e.g. using insertLogical in drl), you may hit the build error even if you has `drools-tms` dependency. ``` $ mvn clean install ... [ERROR] Unable to build KieBaseModel:defaultKieBase MissingDependencyError: You're trying to use the Truth Maintenance System without having imported it. Please add the module org.drools:drools-tms to your classpath. ``` It happens when parallel rule build is triggered. By default, if there are more than 10 rules, parallel rule build is triggered. example) https://github.com/tkobayas/kiegroup-examples/tree/master/Ex-basic-kjar-em-tms-10.0.0 A workaround is to set system property `drools.parallelRulesBuildThreshold` to `-1` so parallel rule build is disabled. ``` $ mvn clean install -Ddrools.parallelRulesBuildThreshold=-1 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For additional commands, e-mail: commits-h...@kie.apache.org