Bug 1035685
Summary: | KieScanner doesn't work on a KieContainer using a maven version range | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Mario Fusco <mfusco> |
Component: | BRE | Assignee: | Mario Fusco <mfusco> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas Schlosser <tschloss> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.0.0 | CC: | etirelli, mproctor |
Target Milestone: | ER6 | ||
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:20:44 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
Mario Fusco
2013-11-28 09:57:26 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-356 to Resolved Some background for this. When a KieModule is looked up, it allows a version String. The KieModule resolves a jar using Maven. As such engineers expect it to support any standard Maven convention for Strings. But it did not support versions. Further it would lose the original version request; such as -SNAPSHOT. So scanNow would not pick up the latest. The change allows any Maven version string to be passed, as any engineer would expect, and to ensure that original string is used each time scanNow is called. Mark Proctor <mproctor> made a comment on jira DROOLS-356 Some background for this. When a KieModule is looked up, it allows a version String. The KieModule resolves a jar using Maven. As such engineers expect it to support any standard Maven convention for Strings. But it did not support versions. Further it would lose the original version request; such as -SNAPSHOT. So scanNow would not pick up the latest. The change allows any Maven version string to be passed, as any engineer would expect, and to ensure that original string is used each time scanNow is called. The current work around is to create an empty wrapper project, to control deployment updates. This project's pom would be resolved by maven, and thus all version syntax is supported and corrected resolved. Verified in BRMS 6.0.1-redhat-2 |