When the following conditions are all met
- use of mvel dialect
- enough rules to trigger parallel exec model generation
- 2 classes with same names in different packages are used in the same consequence
the exec model generation may fail attributing the wrong fully qualified name to one of those 2 classes and results in build error with Type mismatch like the following:
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.67.0.Final-redhat-00029:generateModel (default-generateModel) on project reproducer: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.67.0.Final-redhat-00029:generateModel failed: [com/example/reproducer/P52/LambdaConsequence52DC06F4594238D7EBF113B3FC28F645.java (27:1037) : Type mismatch: cannot convert from com.example.reproducer.domainfirst.Pojo to com.example.reproducer.domainsecond.Pojo] -> [Help 1]