Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1648

Maven dependency resolution through "LATEST" and "RELEASE" version labels using "KieServices.newKieContainer(ReleaseId releaseId)" method fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • core engine
    • None
    • 2017 Week 26-27
    • Hide

      1. Arrange to get private/public maven repository
      2. Put sample maven kjar artifact in maven repository
      3. Setup simple drools project and try getting KieContainer instance through KieService.newKieContainer(ReleaseId releaseId) method call specifying kjar module's version as either "LATEST" or "RELEASE" labels and observe that that doesn't work.
      4. Try open-ended version label and observe that that works.

      Show
      1. Arrange to get private/public maven repository 2. Put sample maven kjar artifact in maven repository 3. Setup simple drools project and try getting KieContainer instance through KieService.newKieContainer(ReleaseId releaseId) method call specifying kjar module's version as either "LATEST" or "RELEASE" labels and observe that that doesn't work. 4. Try open-ended version label and observe that that works.
    • NEW
    • NEW

      I tried to use KieScanner for automatic business rule deployment through kjar modules setup in private maven repository. For that, I tried to specify getting latest kjar modules using "LATEST" and "RELEASE" version labels. They failed for three drools versions I tried (6.5.0.Final, 7.0.0.Final and 7.1.0.Beta3). However, when I tried open-ended version label, solution works. So, I believe that there is issue in dependency resolution related to KieContainer through KieServices.newKieContainer(ReleaseId releaseId) method.

            mfusco@redhat.com Mario Fusco
            aung_jira Pyit Phyo Aung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: