Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1070191

Summary: kie-maven-plugin can't compile projects with dtables or processes
Product: [Retired] JBoss BRMS Platform 6 Reporter: Tomas Schlosser <tschloss>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Schlosser <tschloss>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: agiertli, kverlaen, rrajasek
Target Milestone: ER1   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1092014 (view as bug list) Environment:
Last Closed: 2014-08-06 19:54:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1092014    
Attachments:
Description Flags
Simple maven project demonstrating the issue none

Description Tomas Schlosser 2014-02-26 11:36:21 UTC
Created attachment 867937 [details]
Simple maven project demonstrating the issue

Description of problem:
If you try compiling kie-maven-project that contains dtables or processes, you get an error ClassNotFoundException (in root).

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

How reproducible:
Run the attached project

Steps to Reproduce:
1. download and unzip included project
2. run with 'mvn clean package -Dversion.drools="whatever version you want"'

Actual results:
BUILD FAILED and among the results there is ClassNotFoundException

Expected results:
BUILD SUCCESS

Additional info:
There is a workaroud - adding required dependencies to plugin (for decision tables it is org.drools:drools-decisiontables and for processes org.jbpm:jbpm-bpmn2).

Comment 1 Mario Fusco 2014-03-14 18:41:56 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/2d117c294

Note that anyway it's necessary to add the required dependencies to the pom (not necessarily inside the plugin)

Comment 2 Tomas Schlosser 2014-04-28 13:53:16 UTC
It is now possible to use 'compile' scope with the required dependencies. I therefore mark this verified.

However the necessity to have additional dependencies should be well documented. Therefore I have cloned this issue to a documentation bug.