Solve placement of Scala runtime library

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: scala-dmn
    • None

      AT

      Solve placement of Scala runtime library.

      Implementation idea

      Provide a Camunda-owned, repackaged and shaded Scala Runtime artifact which is consumed by Scala FEEL Engine and Scala DMN Engine

      • Shaded Scala Runtime artifact created with a Maven module/project
        • Add a dependency on org.scala-lang:scala-library in the version we need (e.g. 2.13.0)
        • Configure maven-shade-plugin to define relocation of “scala” to “camundajar.impl.scala”
      • Configuration in the POMs of Scala FEEL and Scala DMN:
        • Configure maven-shade-plugin to
          • Define relocation of “scala” to “camundajar.impl.scala”
          • Define an <exclude>org.scala-lang:scala-library</exclude> in the <excludes> of the <artifactSet>
      • Adjustments in the BPM Platform
        • Add a dependency on the new shaded repackaged Scala Runtime to “engine-dmn/feel-scala/pom.xml” (and to the DMN engine module using Scala)
        • Ensure the new Scala Runtime artifact is included in all distributions

      See https://docs.google.com/document/d/1fvp2qf75W7VBSFjfHVz3iRN4Ynq349R6qtq3eP62opw/edit#bookmark=id.conbvdhlz9pd

            Assignee:
            Unassigned
            Reporter:
            Tobias Metzke-Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: