Bug 1070191 - kie-maven-plugin can't compile projects with dtables or processes
Summary: kie-maven-plugin can't compile projects with dtables or processes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER1
: 6.0.2
Assignee: Mario Fusco
QA Contact: Tomas Schlosser
URL:
Whiteboard:
Depends On:
Blocks: 1092014
TreeView+ depends on / blocked
 
Reported: 2014-02-26 11:36 UTC by Tomas Schlosser
Modified: 2018-12-05 17:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1092014 (view as bug list)
Environment:
Last Closed: 2014-08-06 19:54:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Simple maven project demonstrating the issue (7.04 KB, application/octet-stream)
2014-02-26 11:36 UTC, Tomas Schlosser
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.