Bug 1025416

Summary: Modules: Unify BPMS and BRMS in a single build run
Product: [Retired] JBoss BPMS Platform 6 Reporter: Pedro Zapata <pzapataf>
Component: Build and AssemblyAssignee: Roger Martínez <romartin>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Svitak <jsvitak>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 6.0.0CC: mbaluch
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: In order to build EAP modules distribution two separate builds with different profiles were required. Consequence: Productization team requires one one single build for all module distributions. Fix: Refactor maven modules. Created two separate modules for BPMS/BRMS distribution. All modules are build in a single maven build. Result: Productization team can generate the modules distributions in a single build.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:09:22 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:

Description Pedro Zapata 2013-10-31 16:01:03 UTC
modules job (ke-wb-distributions/kie-eap-integration) needs enhancement to enable the bpms and brms distribution generating in one build instead of two separate run.

Comment 2 Roger Martínez 2013-11-03 19:06:10 UTC
Hi,

In order to build all EAP modules distributions in a single build, the "kie-eap-integration" module has been splitted into several modules:

- kie-eap-integration-core: Contains all builder core files.
- kie-eap-integration-distributions: Contains all distributions to generate.
- kie-eap-integration-bpms: Contains the generation of the BPMS distribution for modules.
- kie-eap-integration-brms: Contains the generation of the BRMS distribution for modules.

Now you can build all distribution using a single maven build. See https://github.com/droolsjbpm/kie-wb-distributions/blob/master/kie-eap-integration/README.md

Other tasks done:
=================

 - Changed generated artifact names:
   - BPMS static layer -> eap-modules-distributions-X.Y.Z-bpms-layer.zip
   - BPMS webapp -> eap-modules-distributions-X.Y.Z-org.kie.kie-wb-webapp.war
   - BPMS jBPM dashboard -> eap-modules-distributions-X.Y.Z-SNAPSHOT-org.jbpm.dashboard.jbpm-dashboard.war
   - BRMS static layer -> eap-modules-distributions-X.Y.Z-brms-layer.zip
   - BRMS webapp -> eap-modules-distributions-X.Y.Z-org.kie.kie-drools-wb-webapp.war

 - Created maven deploy task: Allows to deploy the generated artifacts into a JBoss EAP installation.

 - Documentation -> Updated all README.md files.


Commits - master
================

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

Commits - 6.0.X
================

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

Comment 3 Roger Martínez 2013-11-03 19:20:59 UTC
Commits - 6.0.X
================
Fix parent versions to 6.0.0-SNAPSHOT: https://github.com/droolsjbpm/kie-wb-distributions/commit/f3f163106be1cd5535295d5a4f722d218c921984

Comment 4 Roger Martínez 2013-11-07 17:28:34 UTC
Fixing parent for 6.0.X branch -> https://github.com/droolsjbpm/kie-wb-distributions/commit/3015db340369fbbaec0f435c63e16f44527120eb

Comment 5 Jiri Svitak 2013-12-04 11:50:20 UTC
This issue is rather internal, related to productization process. It doesn't have an impact on customers.

Verified in ER5.