Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1618

kie-server-spring-boot-starter-drools includes unecessary jbpm dependencies

XMLWordPrintable

    • False
    • False
    • Undefined

      When using this drools starter I noticed it comes with all the jbpm dependencies:

       

      ❯ jar -tvf target/business-application-service-1.0-SNAPSHOT.jar | grep jbpm      
      281925 Tue Feb 02 15:10:54 EST 2021 BOOT-INF/lib/jbpm-bpmn2-7.49.0.Final.jar
      180738 Tue Feb 02 15:02:10 EST 2021 BOOT-INF/lib/jbpm-flow-builder-7.49.0.Final.jar
      975024 Tue Feb 02 15:01:20 EST 2021 BOOT-INF/lib/jbpm-flow-7.49.0.Final.jar
       50407 Tue Feb 02 15:24:52 EST 2021 BOOT-INF/lib/jbpm-services-api-7.49.0.Final.jar
      210518 Tue Feb 02 15:24:44 EST 2021 BOOT-INF/lib/jbpm-runtime-manager-7.49.0.Final.jar
       47538 Tue Feb 02 15:03:16 EST 2021 BOOT-INF/lib/jbpm-persistence-jpa-7.49.0.Final.jar
      112230 Tue Feb 02 15:03:56 EST 2021 BOOT-INF/lib/jbpm-audit-7.49.0.Final.jar
       27609 Tue Feb 02 15:14:36 EST 2021 BOOT-INF/lib/jbpm-human-task-workitems-7.49.0.Final.jar
      124048 Tue Feb 02 15:16:38 EST 2021 BOOT-INF/lib/jbpm-human-task-audit-7.49.0.Final.jar
      125251 Tue Feb 02 15:11:06 EST 2021 BOOT-INF/lib/jbpm-human-task-jpa-7.49.0.Final.jar
      387509 Tue Feb 02 15:14:10 EST 2021 BOOT-INF/lib/jbpm-human-task-core-7.49.0.Final.jar
       33269 Tue Feb 02 15:03:24 EST 2021 BOOT-INF/lib/jbpm-query-jpa-7.49.0.Final.jar
       25929 Tue Feb 02 15:02:20 EST 2021 BOOT-INF/lib/jbpm-persistence-api-7.49.0.Final.jar
      117753 Tue Feb 02 16:41:48 EST 2021 BOOT-INF/lib/jbpm-executor-7.49.0.Final.jar
      119038 Tue Feb 02 17:19:44 EST 2021 BOOT-INF/lib/kie-server-services-jbpm-7.49.0.Final.jar
       22842 Tue Feb 02 15:25:04 EST 2021 BOOT-INF/lib/jbpm-shared-services-7.49.0.Final.jar
       27256 Tue Feb 02 16:47:56 EST 2021 BOOT-INF/lib/jbpm-workitems-core-7.49.0.Final.jar
       88277 Tue Feb 02 16:48:44 EST 2021 BOOT-INF/lib/jbpm-workitems-bpmn2-7.49.0.Final.jar
      266530 Tue Feb 02 16:49:10 EST 2021 BOOT-INF/lib/jbpm-workitems-email-7.49.0.Final.jar
       35544 Tue Feb 02 16:49:18 EST 2021 BOOT-INF/lib/jbpm-workitems-jms-7.49.0.Final.jar
       38380 Tue Feb 02 16:49:48 EST 2021 BOOT-INF/lib/jbpm-workitems-rest-7.49.0.Final.jar
       68337 Tue Feb 02 16:48:06 EST 2021 BOOT-INF/lib/jbpm-workitems-webservice-7.49.0.Final.jar
       23973 Tue Feb 02 16:42:08 EST 2021 BOOT-INF/lib/jbpm-document-7.49.0.Final.jar
      205786 Tue Feb 02 16:47:12 EST 2021 BOOT-INF/lib/jbpm-case-mgmt-impl-7.49.0.Final.jar
       74826 Tue Feb 02 16:42:00 EST 2021 BOOT-INF/lib/jbpm-case-mgmt-cmmn-7.49.0.Final.jar
      320120 Tue Feb 02 15:39:26 EST 2021 BOOT-INF/lib/jbpm-kie-services-7.49.0.Final.jar
      
      

       

      Considering this starter is supposed to provide Runtime Decision why include all jbpm, case managements deps?

      It makes the final Uber JAR load unnecessary deps.

              elguardian@gmail.com Enrique González Martínez (Inactive)
              rafael.soares Rafael Soares
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: