Details
-
Bug
-
Resolution: Done
-
Critical
-
6.0.1
-
None
Description
Description of problem:
An error is experiencied by building a project that contains a kmodule.xml which uses an include such as:
<kbase name="kbase2" includes="kbase1">
When generating a kjar there is an error indicating the included kbase could not be found:
[ERROR] Message [id=1, level=ERROR, path=src/main/resources/META-INF/kmodule.xml, line=0, column=0
text=Unable to build KieBase, could not find include: kbase1]
If using brms version 6.0.2-SNAPSHOT the build succeeds but with the release version 6.0.2-redhat-6 it fails.
Version-Release number of selected component (if applicable):
BRMS 6.0.1
How reproducible:
Always
Steps to Reproduce:
1. Download attached files (named-kiesession-6.0.1.7z and kiebase-inclusion-6.0.1.7z);
2. unzip and 'mvn install' named-kiesession-6.0.1 project. It should be built successfully.
3. unzip and 'mvn install' kiebase-inclusion-6.0.1 project. It will throw the error above.
Actual results:
[ERROR] Message [id=1, level=ERROR, path=src/main/resources/META-INF/kmodule.xml, line=0, column=0
text=Unable to build KieBase, could not find include: kbase1]
Expected results:
It should build succesfully.
Additional info: