Bug 1039716 - EAP distribution for static modules - Difficult to define module dependencies manually
Summary: EAP distribution for static modules - Difficult to define module dependencies...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Build and Assembly
Version: 6.0.0
Hardware: All
OS: All
medium
low
Target Milestone: DR4
: 6.1.0
Assignee: Roger Martínez
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-09 20:50 UTC by Roger Martínez
Modified: 2020-03-27 20:06 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:06:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Roger Martínez 2013-12-09 20:50:45 UTC
Description of problem:

Currently the builder for EAP static module layers (kie-wb-distributions/kie-eap-integration) generates the dependencies between modules based on a descriptor file for each module. So the dependencies between generated EAP modules are defined manually.

This approach results difficult to maintain in a large application with a lot of third party resources, as the case of drools/jbpm. There are almost 40 modules to create.. so it's a difficult work to change and test the dependencies every time a developer changes or add some ones new (that occurs frequently due to we are on new releases development)

So this approach must be changed and simplified.

My idea is to define the static modules to create as maven modules too, then we can delegate to maven the creation of dependency graph completely. By this way we should avoid constant problems when developers are changing resources and its code.

The resulting dependency graph will show the dependencies between modules (considered maven resources too) and the resources that each module must contain.

This is the main idea but I have not completed this development yet, so I hope not having too much problems. If this approach will not be enough, then we must review all module dependencies in a manual way, but I hope to avoid this situation using this new approach or similar.

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

6.0.0 / 6.1.0 (currently SNAPSHOT)

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

This bug is consequence of https://bugzilla.redhat.com/show_bug.cgi?id=1038713

Comment 3 Marek Baluch 2014-02-04 18:02:35 UTC
QE considers this optional for 6.0.1

Comment 6 Roger Martínez 2014-02-18 17:15:15 UTC
NOTE: I will try to keep tracking of all the commits for this development

https://github.com/droolsjbpm/kie-wb-distributions/commit/aa4b1ff1cbfcd86e9a11e426750fb4c5b39a0b14

Comment 17 Roger Martínez 2014-03-31 14:41:36 UTC
The plugin is currently working on master branch. See https://github.com/droolsjbpm/kie-wb-distributions/tree/master/kie-eap-integration

Closing development and this BZ.

Comment 18 Petr Široký 2014-11-18 15:30:41 UTC
Not really sure what to verify here...

Maven plugin has been crated to ease-up the modules creation. I believe specific issues should be filed as specific BZs, closing this generic one as verified.


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