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

[OSGi] Drools compiler is not able to resolve Maven pom properties inherited from parent

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

XMLWordPrintable

    • ER3
    • Hide

      1. Run "KieBlueprintImportIntegrationTest" from reproducer (module kie-osgi/kie-karaf-itests).
      2. Kjar compilation will fail because of missing classes from "kie-karaf-itests-domain-model".

      Show
      1. Run "KieBlueprintImportIntegrationTest" from reproducer (module kie-osgi/kie-karaf-itests). 2. Kjar compilation will fail because of missing classes from "kie-karaf-itests-domain-model".

      Drools compiler is not able to resolve Maven pom.xml properties inherited from parent. This bug appears in OSGI environment. It is probably caused by MinimalPomParser which is not capable to parse complex poms [1]. MinimalPomParser is used for parsing poms in kjars by BxMS Fuse integration. Reproducer can be found here [2]. To reproduce the issue run KieBlueprintImportIntegrationTest.

      [1] https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/kproject/xml/MinimalPomParser.java#L50
      [2] https://github.com/jiripetrlik/droolsjbpm-integration/commit/4c834508bc9892e496943a25235fb0814adb6cb0

              psiroky_jira Petr Široký (Inactive)
              jpetrlik@redhat.com Jiri Petrlik
              Archiver:
              rhn-support-ceverson Clark Everson
              Jiri Petrlik Jiri Petrlik
              Jiri Petrlik Jiri Petrlik

                Created:
                Updated:
                Resolved:
                Archived: