Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8425

PMML API dependency fails to resolve path when in Quarkus mutable-jar context

XMLWordPrintable

    • False
    • None
    • False
    • Hide

      Exclude the mentioned dependencies from the SW project.

      Show
      Exclude the mentioned dependencies from the SW project.
    • Hide

      Build a SW application with the quarkus CLI as:

      quarkus build -Dquarkus.package.type=mutable-jar
      

      Then run:

      export QUARKUS_LAUNCH_DEVMODE=true; java -jar -Dquarkus.kogito.devservices.enabled=false target/quarkus-app/quarkus-run.jar
      

      Apart from the Data Index error if devservices is enabled, you should see the error reported in this issue.

      Show
      Build a SW application with the quarkus CLI as: quarkus build -Dquarkus. package .type=mutable-jar Then run: export QUARKUS_LAUNCH_DEVMODE= true ; java -jar -Dquarkus.kogito.devservices.enabled= false target/quarkus-app/quarkus-run.jar Apart from the Data Index error if devservices is enabled, you should see the error reported in this issue.
    • ---
    • ---
    • Critical

      See KOGITO-8183 comments for context.

      What happens is that the kogito-api depends on kogito-pmml-api-dependencies. This dependency, for some reason, is defining its path to an empty string in the classloader. See:

      org.kie.kogito:kogito-pmml-api-dependencies::jar:2.0.0-SNAPSHOT[paths: ]
      

      The same reproducer defined in KOGITO-8183 applies here as well. Copying for the sake of documenting the issue.

      It might be necessary to open an issue on Drools side as well. cc mfusco@redhat.com

              gcardosi Gabriele Cardosi (Inactive)
              rhn-support-zanini Ricardo Zanini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: