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: | BRE | Assignee: | Mario Fusco <mfusco> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas Schlosser <tschloss> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | unspecified | CC: | 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: |
|
||||||
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) 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. |
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).