kie-maven-plugin throws error when kmodule includes kbase

Solution Verified - Updated -

Issue

  • A project that tried to include a kbase by specifying it through the kmodule.xml: <kbase name="kbase2" includes="kbase1"> would fail compilation. The compilation error was that the included kbase1 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 there is a kmodule.xml file which has an include attribute referring to another kbase in <kbase> element , while building the kjar, kie-maven-plugin throws the following error.
[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]

Here is a sample kmodule.xml entry which causes the problem.

    <kbase name="kbase2" includes="kbase1"> 

It appears that this issue is already reported here in this Bugzilla [1] . Is there any work around for this issue? When is this issue going to be fixed?

[1] kie-maven-plugin throws error when kmodule including kbase

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 6.0.0
    • 6.0.1
  • Red Hat JBoss BPM Suite (BPMS)
    • 6.0.0
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content