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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 7.5.0.GA
    • 7.4.1.GA
    • BRE
    • 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

      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]
      

              mfusco@redhat.com Mario Fusco
              rhn-support-tkobayas Toshiya Kobayashi
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: