Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2101

kie-maven-plugin throws error when kmodule including kbase

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.0.2
    • 6.0.1
    • Build and Assembly
    • None
    • CR1
    • ?
    • Hide
      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.
      An incorrect way of loading dependencies for a project caused this issue. This has now been fixed and projects can successfully include external kbase specified through the kmodule.xml file.
      Show
      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. An incorrect way of loading dependencies for a project caused this issue. This has now been fixed and projects can successfully include external kbase specified through the kmodule.xml file.

    Description

      Description of problem:

      An error is experiencied by building a project that contains a kmodule.xml which uses an include such as:

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

      When generating a kjar there is an error indicating the included kbase 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 using brms version 6.0.2-SNAPSHOT the build succeeds but with the release version 6.0.2-redhat-6 it fails.

      Version-Release number of selected component (if applicable):

      BRMS 6.0.1

      How reproducible:

      Always

      Steps to Reproduce:
      1. Download attached files (named-kiesession-6.0.1.7z and kiebase-inclusion-6.0.1.7z);
      2. unzip and 'mvn install' named-kiesession-6.0.1 project. It should be built successfully.
      3. unzip and 'mvn install' kiebase-inclusion-6.0.1 project. It will throw the error above.

      Actual results:

      [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]

      Expected results:

      It should build succesfully.

      Additional info:

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            rhn-support-ajuricic Amana Juricic
            Archiver:
            rhn-support-ceverson Clark Everson
            Jiří Locker Jiří Locker
            Jiří Locker Jiří Locker
            Anton Giertli, etirelli, Marek Baluch, paradhya2, Rajesh Rajasekaran, Vikram Goyal (Inactive)

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty