]
Mario Fusco resolved DROOLS-304.
--------------------------------
Fix Version/s: 6.3.0.CR1
Resolution: Done
kie-ci is not able to resolve ranges in artifact version
--------------------------------------------------------
Key: DROOLS-304
URL:
https://issues.jboss.org/browse/DROOLS-304
Project: Drools
Issue Type: Feature Request
Affects Versions: 6.0.0.CR5
Reporter: Clayton Tabone
Assignee: Mario Fusco
Priority: Minor
Fix For: 6.3.0.CR1
When creating a new container with a given ReleaseId and a specific version, kie-ci is
able to resolve the artifact from the drools-wb Maven repository. However when a range is
specified, the artifact is not resolved with an error message stating that the version
could not be found. The GAV with the range is a valid combination since the same works
from a pom file. Kie-ci is on the classpath.
Steps to reproduce:
- Deploy drools-wb
- Build the mortgages project from the guvnorng-playground
- Run the following code:
KieServices ks = KieServices.Factory.get();
ReleaseId releaseId = ks.newReleaseId("mortgages", "mortgages",
"[0.0.1-0.1.0)");
KieContainer kieContainer = ks.newKieContainer(releaseId);