Unnecessary warning when running Spring Boot application with DRL rules #394
Labels
area:engine
Related to the runtime engines
area:rules
Related to Rules (DRL, DROOLS)
type:bug
Something is behaving unexpectedly
When running a Spring Boot application that is built using spring-boot-maven-plugin, having drl files in BOOT-INF directory, an unnecessary warning is printed in the logs. Example: "File 'BOOT-INF/classes/rules/common/Sample.drl' is in folder 'BOOT-INF/classes/rules/common' but declares package 'rules.common'. It is advised to have a correspondance between package and folder names."
The source of this warning is here: https://github.com/kiegroup/drools/blob/0255407da604089adc57ad9b955b283915b0ecad/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/KieBuilderImpl.java#L398
Acceptance criteria:
The text was updated successfully, but these errors were encountered: