[jboss-jira] [JBoss JIRA] (DROOLS-4602) kie-maven-plugin fails with nested kbases and dependency versions declared in bom

Mario Fusco (Jira) issues at jboss.org
Fri Oct 4 02:26:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco reassigned DROOLS-4602:
-----------------------------------

    Assignee: Tibor Zimanyi  (was: Mario Fusco)


> 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: Tibor Zimanyi
>            Priority: Major
>              Labels: support
>         Attachments: hierarchical-kbase-bom.zip
>
>
> 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.27.0.Final and -DgenerateModel=NO
> 13:01:05,903 [ERROR] Unable to build KieBase, could not find include: subkbase
> 13:01:05,908 [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.27.0.Final:build (default-build) on project kbase-parent: Execution default-build of goal org.kie:kie-maven-plugin:7.27.0.Final:build failed: Unable to get KieModule, Errors Existed: Error Messages:
> 13:01:05,910 [ERROR] Message [id=1, kieBase=parentkbase, level=ERROR, path=src/main/resources/META-INF/kmodule.xml, line=0, column=0
> 13:01:05,911 [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).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list