-
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
This is the controller panel for Smart Panels app
[CAM-12928] Solve placement of Scala runtime library
Fix Version/s | New: 7.15.0 [ 16006 ] |
Assignee | New: Tobias Metzke-Bernstein [ tobias.metzke ] |
Fix Version/s | Original: 7.15.0 [ 16006 ] |
Description |
Original:
h3. AT
Solve placement of Scala runtime library See https://docs.google.com/document/d/1fvp2qf75W7VBSFjfHVz3iRN4Ynq349R6qtq3eP62opw/edit#bookmark=id.conbvdhlz9pd |
New:
h3. AT
Solve placement of Scala runtime library. h3. 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] |
Mentioned Roles |
Mentioned Groups |
Mentioned Roles |
Mentioned Groups |
Status | Original: Open [ 1 ] | New: Ready [ 10005 ] |