Description of problem: Important I don't think this is a duplication of an existing issue. Using mvn package or install on a project created with business central, seems to work but it created a broken archive. UF specific files are left, making drools parser fails. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1- create a project with business central 2- create a simple rule myRule.drl 3- git clone and use eclipse now 4- mvn install -> seems to work 5- now try use your *rule* artifact from another project 6- the rule engine will try to parse remaining UF files (typically a .myRule.drl remaining in META-INF) Actual results: Expected results: I expect the pom to define a phase where it will clean up the .blah UF specific files before packaging. Additional info:
Mario, when you make the fix we can stop filtering them from within kie-wb when building a KJAR too - and least then we'd be consistent (and have early sight of any other issues later on). Please let me know when you've done the drools-compiler change and I'll update kie-wb. Thanks, Mike
Mike, I am not trying to compile anymore files having a name starting with a dot ( https://github.com/droolsjbpm/drools/commit/320bb4663 ). Reassigning this ticket to you.
*** Bug 1049667 has been marked as a duplicate of this bug. ***
There is now a test for this in the Drools community and this test passes when run against CR2.