Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14106

Spin and Connect upstream libraries are compiled against an older Commons version than used in the platform mono repo

    XMLWordPrintable

Details

    Description

      Environment (Required on creation):

      Camunda Platform 7.15.7 or later.

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      • Spin and Connect upstream libraries are compiled against an older Commons version than used in the platform mono repo
      • Since Spin and Connect are not tested against Commons 1.10.0, incompatibilities might occur in production
      • Build tools like Gradle might be configured to be strict on checking versions in the dependency graph
        • When two different dependencies point to different versions of a common dependency, a conflict might be raised => build fails

      Steps to reproduce (Required on creation):

      In a Spring Boot maven project with Camunda Platform 7.15.7, perform $ mvn dependency:tree -Dverbose | grep "camunda-commons".

      Observed Behavior (Required on creation):

      You should see the following output:

      org.camunda.commons:camunda-commons-utils:jar:1.10.0:compile - version managed from 1.9.0; omitted for duplicate
      org.camunda.commons:camunda-commons-logging:jar:1.10.0:compile - version managed from 1.9.0; omitted for duplicate
      

      Expected behavior (Required on creation):

      No version conflict exists.

      Root Cause (Required on prioritization):

      Spin and Connect are compiled against Commons 1.9.0 while the modules residing in the platform mono repo are compiled against Commons 1.10.0.

      Solution Ideas (Optional):

      1. Make Spin and Connect use Commons 1.10.0, release them again, bump the Spin and Connect versions in the platform mono repo, release patches of the platform
      2. Make platform build fail when Commons versions differ
      3. Consolidate Spin, Connect, and Commons into the Platform mono repo and version it together with the Platform

      Hints (optional):

      -

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              tassilo.weidner Tassilo Weidner
              Tobias Metzke-Bernstein Tobias Metzke-Bernstein
              Nikola Koevski Nikola Koevski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce