]
Mario Fusco resolved DROOLS-2588.
---------------------------------
Resolution: Done
Fixed by
Kie maven plugin does not build kiebase on windows
--------------------------------------------------
Key: DROOLS-2588
URL:
https://issues.jboss.org/browse/DROOLS-2588
Project: Drools
Issue Type: Bug
Components: tools
Affects Versions: 7.7.0.Final
Environment: Windows 10
Reporter: Viacheslav Krot
Assignee: Mario Fusco
Attachments: net_tst.zip
Hi,
In drools 7.7.0.Final maven plugin suddenly stopped building kie base and thus verifying
DRL files during packaging. It does not find the resources at all, during build I see
warning:
{noformat}
[WARNING] No files found for KieBase defaultKieBase
{noformat}
I attach a simple project with error in DRL, it should not be built, but with 7.7.0.Final
on Windows the build is successful. Though same project fails on macos or linux (as
expected). And even 7.6.0 on Windows produces error
{noformat}
[ERROR] Unable to build KieBaseModel:defaultKieBase
Unable to resolve ObjectType 'List2' : [Rule name='all_import']
{noformat}
Only windows is affected, builds on linux and macos work as expected - they fail (because
there is an error in DRL file), only windows with 7.7.0 plugin pass because it does not
see the resources.