Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1106

"Unable to build KieBase, could not find include:" with kie-maven-plugin

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 7.4.1.GA
    • Fix Version/s: 7.5.0.GA
    • Component/s: BRE
    • Labels:
    • Steps to Reproduce:
      Hide
      • Unzip attached hierarchical-kbase.zip
      • cd Drools74Ex061_kbase_sub
      • mvn clean install -DskipTests
      • cd ../Drools74Ex061_kbase_parent
      • mvn clean install -DskipTests
        you will see the error
      Show
      Unzip attached hierarchical-kbase.zip cd Drools74Ex061_kbase_sub mvn clean install -DskipTests cd ../Drools74Ex061_kbase_parent mvn clean install -DskipTests you will see the error

      Description

      When we build 2 kjars and one kbase "includes" another, kie-maven-plugin throws "Unable to build KieBase, could not find include:".

      [INFO] Adding Service +org.kie.dmn.core.assembler.DMNAssemblerService
      
      [INFO] Adding Service +org.kie.dmn.core.runtime.DMNRuntimeService
      
      [INFO] Adding Service +org.kie.dmn.core.weaver.DMNWeaverService
      
      [ERROR] Unable to build KieBase, could not find include: subkbase
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  3.507 s
      [INFO] Finished at: 2019-10-03T17:24:43+09:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.23.0.Final:build (default-build) on project kbase-parent: Execution default-build of goal org.kie:kie-maven-plugin:7.23.0.Final:build failed: Unable to get KieModule, Errors Existed: Error Messages:
      [ERROR] Message [id=1, kieBase=parentkbase, level=ERROR, path=src/main/resources/META-INF/kmodule.xml, line=0, column=0
      [ERROR]    text=Unable to build KieBase, could not find include: subkbase]
      [ERROR] ---
      [ERROR] Warning Messages:
      [ERROR] ---
      [ERROR] Info Messages:
      [ERROR] 
      [ERROR] -> [Help 1]
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mfusco Mario Fusco
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                  Tester:
                  Tibor Zimanyi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: