-
Sub-task
-
Resolution: Unresolved
-
L3 - Default
-
None
-
None
-
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>
- Configure maven-shade-plugin to
- 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