]
Martin Weiler moved RHDM-1108 to DROOLS-4602:
---------------------------------------------
Project: Drools (was: Red Hat Decision Manager)
Key: DROOLS-4602 (was: RHDM-1108)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Docs QE Status: NEW
Component/s: tools
(was: BRE)
Affects Version/s: 7.27.0.Final
(was: 7.4.1.GA)
QE Status: NEW
kie-maven-plugin fails with nested kbases and dependency versions
declared in bom
---------------------------------------------------------------------------------
Key: DROOLS-4602
URL:
https://issues.jboss.org/browse/DROOLS-4602
Project: Drools
Issue Type: Bug
Components: tools
Affects Versions: 7.27.0.Final
Reporter: Martin Weiler
Assignee: Mario Fusco
Priority: Major
Labels: support
When we build 2 kjars and one kbase "includes" another, kie-maven-plugin fails
to resolve the sub kbase if the dependency version is declared in a common bom:
{noformat}
Running test with rules version 7.23.0.Final-redhat-00003 and -DgenerateModel=NO
12:41:58,315 [ERROR] Unable to build KieBase, could not find include: subkbase
12:41:58,320 [ERROR] Failed to execute goal
org.kie:kie-maven-plugin:7.23.0.Final-redhat-00003:build (default-build) on project
kbase-parent: Execution default-build of goal
org.kie:kie-maven-plugin:7.23.0.Final-redhat-00003:build failed: Unable to get KieModule,
Errors Existed: Error Messages:
12:41:58,323 [ERROR] Message [id=1, kieBase=parentkbase, level=ERROR,
path=src/main/resources/META-INF/kmodule.xml, line=0, column=0
12:41:58,324 [ERROR] text=Unable to build KieBase, could not find include: subkbase]
{noformat}
Note that such a build is successful with RHDM 7.3.1 if the executable model is *not*
used (see reproducer).