| Summary: | Rule file update, save, commit causes local maven repo file structure to update | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Eric D. Schabell <eschabel> |
| Component: | Business Central | Assignee: | Mario Fusco <mfusco> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Marek Baluch <mbaluch> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0.0 | CC: | etirelli, manstis, mbaluch, mfusco |
| Target Milestone: | ER1 | ||
| Target Release: | 6.0.1 | ||
| Hardware: | x86_64 | ||
| OS: | Mac OS | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 19:58:04 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: | |
|
Description
Eric D. Schabell
2013-12-17 15:51:12 UTC
Investigation confirmed the reported behaviour. Whilst creation of the empty folder structure is undesirable it has no real (negative) impact. The project remains unavailable for external consumption until it has been built in the workbench. Ideally we should be able to inhibit creation of the folder structure until the Project is "Build and Deploy"'ed. I believe the folders are being created by KieBuilder (or related classes) whenever a KieModule is built - full or incremental. My recommendation is that this is not a blocker. It will have an effect on performance. Agree on not blocking my experience yet. Thanks for the investigation. (In reply to manstis from comment #3) > Investigation confirmed the reported behaviour. > > Whilst creation of the empty folder structure is undesirable it has no real > (negative) impact. The project remains unavailable for external consumption > until it has been built in the workbench. > > Ideally we should be able to inhibit creation of the folder structure until > the Project is "Build and Deploy"'ed. I believe the folders are being > created by KieBuilder (or related classes) whenever a KieModule is built - > full or incremental. > > My recommendation is that this is not a blocker. This commit partially fix this problem https://github.com/droolsjbpm/drools/commit/ff4f9415a57888841873f87d9704c070a375f982 What I did there is to avoid to create an ArtifactResolver for that ReleaseId when the project has no dependencies. When there are dependencies I have to create the ArtifactResolver to load them and bould the project. Unfortunately the moment I do this maven creates that empty folder, there's no much we can do about this Verified on 6.0.1.ER2. Confirmed - the folder structure is created only when a project has dependencies. |