Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2421

kie-ci does not resolve properties that are used for artifact version

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0
    • 6.0.0
    • BRE
    • None

    Description

      Description of problem:
      When kjar has dependencies declared with their versions defined as property instead of having them placed as <version> tag directly on dependency then creation of kieContainer fails with NPE

      Version-Release number of selected component (if applicable):

      How reproducible:
      see reproducer

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:
      NPE thrown when creating KieContainer

      Expected results:
      KieContainer is created successfully with all dependencies resolved properly

      Additional info:
      Might be worth investigating if various scope dependencies shall be resolved as well, mainly test and provided as in my opinion test dependencies should not be resolved at all and provided might be but I would say that when marking dependency as provided it is expected to already be on the main class loader and should not be project specific classloader.

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            swiderski.maciej Maciej Swiderski (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson
            Tomas David Tomas David
            Tomas David Tomas David
            Mario Fusco

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty