Bug 991059
Summary: | Deployment units - wrong version after server restart | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Zuzana Krejčová <zkrejcov> |
Component: | Business Central | Assignee: | Maciej Swiderski <mswiders> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Zuzana Krejčová <zkrejcov> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.0 | CC: | david, lpetrovi, rzhang |
Target Milestone: | ER2 | ||
Target Release: | 6.0.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-06 20:17:35 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
Zuzana Krejčová
2013-08-01 13:41:32 UTC
Issue was caused due to the way how maven works from different angels (deploy artifacts and resolve artifacts): 1. Guvnor does deploy it only to remote repository - on build and deploy time 2. kie-services when deploying to runtime engine use maven to resolve given artifact which will get the artifact from maven remote repository if does not exists in local so on the second deploy to remote repo with the same GAV step 2 did not take it from remote repo anymore as it had it already in local - maven does not load it when same GAV already exists in local repo (except snapshots which are loaded base on defined policy). Fix for this is that now guvnor will install artifact to local repo during maven deploy phase so local repo is always up to date. Commit in 6.0.x branch: https://github.com/droolsjbpm/guvnor/commit/baf7ead8a9c026b73b8030f9f0e7a00ef0570aab |