Bug 973913 - ruleFlow components are missing in BRE
Summary: ruleFlow components are missing in BRE
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR6
: 6.0.0
Assignee: Kris Verlaenen
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks: 974013
TreeView+ depends on / blocked
 
Reported: 2013-06-13 06:12 UTC by Ryan Zhang
Modified: 2014-08-06 20:15 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Ryan Zhang 2013-06-13 06:12:03 UTC
Description of problem:
The ruleFlow related component are missing in BRE, which includes jbpm-flow, jbpm-flow-builder, jbpm-bpmn2, jbpm-persistence-jpa.



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ryan Zhang 2013-06-13 09:23:52 UTC
Pull request is sented on https://github.com/droolsjbpm/jbpm/pull/168

Comment 2 Kris Verlaenen 2013-06-19 00:25:02 UTC
Ryan,

The pull request doesn't seem to be working for me (note that I did change the name to ruleflow-bin first).  I first get a warning:
[WARNING] The following patterns were never triggered in this artifact inclusion filter:
o  'org.jbpm:jbpm-bpmn2'
o  'org.jbpm:jbpm-flow'
o  'org.jbpm:jbpm-flow-builder'
o  'org.jbpm:jbpm-persistence-jpa'

And it fails with:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single (zips) on project jbpm-distribution: Failed to create assembly: Error creating assembly archive ruleflow-bin: You must set at least one file. -> [Help 1]

Could you explain what the result should be?  A zip that contains these 4 jbpm jars?  Or also their dependencies (and if so, inside a lib folder)?  What about all the drools dependencies, also just in the lib folder?

Might it not be easier simply copying these 4 jars somewhere during the product build?

Kris

Comment 3 Ryan Zhang 2013-06-19 04:28:18 UTC
(In reply to Kris Verlaenen from comment #2)
> Ryan,
> 
> The pull request doesn't seem to be working for me (note that I did change
> the name to ruleflow-bin first).  I first get a warning:
> [WARNING] The following patterns were never triggered in this artifact
> inclusion filter:
> o  'org.jbpm:jbpm-bpmn2'
> o  'org.jbpm:jbpm-flow'
> o  'org.jbpm:jbpm-flow-builder'
> o  'org.jbpm:jbpm-persistence-jpa'
> 
> And it fails with:
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.3:single (zips) on project
> jbpm-distribution: Failed to create assembly: Error creating assembly
> archive ruleflow-bin: You must set at least one file. -> [Help 1]
> 
I run the command under top folder of jbpm by "mvn -Dfull clean install" (mvn >=3.0.3).
If you run it only in "jbpm-distribution", this error might happened. The assembly uses the <moduleSets> which possible requires the build trigger the other modules as well.
> Could you explain what the result should be?  A zip that contains these 4
> jbpm jars?  Or also their dependencies (and if so, inside a lib folder)? 
> What about all the drools dependencies, also just in the lib folder?
The result should be "4 jbpm jars+ dependencies". I didn't put the dependencies into lib since no lib folder is for drools dependencies as well. I suppose it's convinent for classpath setting. But I am ok with both way.
> 
> Might it not be easier simply copying these 4 jars somewhere during the
> product build?
The problem here is that we should include the dependencies for each jar.

Comment 4 Kris Verlaenen 2013-06-19 21:02:21 UTC
Instead of trying to figure out how to combine the existing drools distribution, the jbpm distribution, with now a new jbpm-ruleflow distribution and then still having to figure out how to create a new (bpms and brms version of) droolsjbpm-integration distribution, maybe we could just try to create 2 new distirbutions as part of the droolsjbpm-integration build: one a brms distribution and one a bpms distribution, each containing all the necessary jars + their dependencies from all core repositories?

Comment 5 Ryan Zhang 2013-06-20 02:31:20 UTC
Yep, that would also serve the purpose.
I think the problem we need to consider  is that we pickup the correct of depenencies for drools and jbpm jars no matter how we package them.

Comment 6 Marek Winkler 2013-07-22 13:48:38 UTC
The jboss-brms-engine.zip contains all mentioned jars as expected.

However, jboss-brms-manager (both 'deployable' and 'eap6' variants) lacks jbpm-persistence-jpa-6.0.0.Beta5.jar in WEB-INF/lib. I would expect the jar to be included, please correct me if I am wrong.

Comment 7 Kris Verlaenen 2013-08-07 15:17:33 UTC
Since jboss-brms-manager does not include any runtime capabilities, it seems correct that jbpm-persistence-jpa is not included in that war (only in the zip).  Setting status back to ON_QA as a result.

Comment 8 Marek Winkler 2013-08-08 15:04:54 UTC
Thanks for clarification, then this issue can be considered verified on DR6.


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