]
Ciprian Chiru updated DROOLS-5551:
----------------------------------
Description:
_kie-maven-plugin_ ignores _sourceFolder_ configuration and there is no other option to
set the rules directory. It always looks for rules in the project's folder.
In our case the DRL files are being generated, so the plugin needs to look for them in the
_generated-resources_ folder in the _target_ directory.
We can workaround this using ._gitignore_ and configure _maven-clean_ to clean the folder
inside the project structure, but it's quite messy.
was:
_kie-maven-plugin_ ignores _sourceFolder_ configuration and there is no other option to
set the rules directory. It always looks for rules in the project's resources folder.
Cannot configure kie-maven-plugin to read the rules from a different
folder
---------------------------------------------------------------------------
Key: DROOLS-5551
URL:
https://issues.redhat.com/browse/DROOLS-5551
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.31.0.Final, 7.32.0.Final, 7.33.0.Final, 7.34.0.Final,
7.35.0.Final, 7.36.0.Final, 7.37.0.Final, 7.38.0.Final, 7.39.0.Final, 7.40.0.Final
Reporter: Ciprian Chiru
Assignee: Luca Molteni
Priority: Minor
Attachments: image.jpeg, image.png
_kie-maven-plugin_ ignores _sourceFolder_ configuration and there is no other option to
set the rules directory. It always looks for rules in the project's folder.
In our case the DRL files are being generated, so the plugin needs to look for them in
the _generated-resources_ folder in the _target_ directory.
We can workaround this using ._gitignore_ and configure _maven-clean_ to clean the folder
inside the project structure, but it's quite messy.