Bug 1039676 - Kie Maven plugin don't use the project classpath
Summary: Kie Maven plugin don't use the project classpath
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: CR1
: 6.0.0
Assignee: Mario Fusco
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-09 18:25 UTC by Mario Fusco
Modified: 2014-08-06 20:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:16:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Maven project with reproducer (14.83 KB, application/zip)
2014-01-03 17:05 UTC, Marek Winkler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-373 0 Major Resolved Kie Maven plugin don't use the project classpath 2015-08-27 22:25:27 UTC

Description Mario Fusco 2013-12-09 18:25:24 UTC
When compiling drls the kie maven plugin uses the plugin classpath instead of the project one. This imply that it is necessary to duplicate the dependencies used by the kie project also inside the plugin declaration, as reported by this email: http://drools.46999.n3.nabble.com/rules-users-Drool-6-0-0-Final-2-question-re-kie-maven-plugin-please-td4027117.html

Comment 1 Mario Fusco 2013-12-09 18:26:11 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/b8a952e88

Comment 3 Marek Winkler 2014-01-03 17:04:04 UTC
The problem persists with BRMS 6.0.0 ER7 (6.0.1-redhat-2).

Please try to build the attached maven project (in kie-cdi-war-example, execute mvn clean install) to reproduce the problem.

If you uncomment kie-maven-plugin's dependency on kie-cdi-war-model (in kie-cdi-war-example/kie-module/pom.xml), the build succeeds.

Comment 4 Marek Winkler 2014-01-03 17:05:04 UTC
Created attachment 845018 [details]
Maven project with reproducer

Adding a maven project with reproducer.

Comment 5 Marek Winkler 2014-01-03 17:07:56 UTC
The problem persists also in Drools 6.0.1-SNAPSHOT.

Comment 6 Mario Fusco 2014-01-07 13:44:32 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/fb0c4e7f0

Comment 7 Marek Winkler 2014-01-23 18:16:20 UTC
Verified on BRMS 6.0.0 CR1.


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