[jboss-jira] [JBoss JIRA] (DROOLS-1694) Inherited kbases, across multiple modules, fails to build via the kie-maven-plugin

Alistair Black (JIRA) issues at jboss.org
Fri Aug 4 06:05:00 EDT 2017


Alistair Black created DROOLS-1694:
--------------------------------------

             Summary: Inherited kbases, across multiple modules, fails to build via the kie-maven-plugin
                 Key: DROOLS-1694
                 URL: https://issues.jboss.org/browse/DROOLS-1694
             Project: Drools
          Issue Type: Bug
          Components: decision tables
    Affects Versions: 6.3.0.Final
            Reporter: Alistair Black
            Assignee: Mario Fusco


I am working on a multi-module BRMS project, with each module encapsulating a set of rules forming a single knowledge base. There is a "packaging" module which inherits each of these modules in order to generate a KJAR for deployment purposes. The application then utilises this KJAR via the KieScanner/ReleaseId approach to facilitate dynamic rule loading at runtime and decoupling of application/rules. 

Having taken the above approach I have encountered an issue where the master build fails when building the "packaging" module as part of the main project build. If the module is built on it's own, then it completes without error.

The error reported is:

{{[ERROR] Failed to execute goal org.kie:kie-maven-plugin:6.3.0.Final:build (default-build) on project rules: Execution default-build of goal org.kie:kie-maven-plugin:6.3.0.Final:build failed: Illegal class for global. Expected [org.drools.template.parser.DefaultGenerator], found [org.drools.template.parser.DefaultGenerator]. -> [Help 1]}}

Having liased with Maciej Swiderski he has asked me to report it as a bug.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list