]
Mario Fusco reassigned DROOLS-1694:
-----------------------------------
Assignee: Massimiliano Dessi (was: Mario Fusco)
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: Massimiliano Dessi
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.