Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1200413

Summary: Projects with inter-dependencies cause Business Central build exceptions after cloning repo
Product: [Retired] JBoss BRMS Platform 6 Reporter: Petr Široký <psiroky>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: kverlaen, rzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:04:11 UTC Type: Enhancement
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: 1198932    

Description Petr Široký 2015-03-10 14:05:35 UTC
Description of problem:
In case there are inter-dependencies between projects in single git repo, the internal BC build fails after cloning that repo, throwing undesired exceptions in the log. This seems to happen, because BC builds the projects (in the cloned repo) based on alphabetical order. So in some cases the build fails, because the one of the projects depends on not yet built project.

I think we could extend the BC to scan the projects in the newly cloned repo, create correct build order based on the inter dependencies between the projects and then build the modules in that order. This way, everything would work out of the box for the users.

This is not really a major issue as users can always build the projects manually in correct order. But throwing the exceptions after the repo clone may certainly scare the users to think that something is very wrong.


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


Steps to Reproduce:
0. Make sure you don't have any artifacts with prefix org/jboss/quickstars/brms in your local maven repo
(if you do, you most probably won't see the build error)
1. Clone new repo from https://github.com/jboss-developer/jboss-brms-repository
2. See the server log. 


Actual results:
Exceptions in server log, saying that one of the projects can not be built.


Expected results:
All projects are built successfully.


Additional info:

Comment 1 Ryan Zhang 2016-04-19 11:24:03 UTC
*** Bug 1248303 has been marked as a duplicate of this bug. ***