Skip to content

Commit

Permalink
docs(update): update related installation and user guides
Browse files Browse the repository at this point in the history
  • Loading branch information
venetrius committed Aug 13, 2024
1 parent cbf41d2 commit 0180f1b
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 12 deletions.
4 changes: 1 addition & 3 deletions content/installation/full/jboss/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ Camunda Spin is not available in scripts if a process definition is deployed via

Add the following modules (if not existing) from the folder `$WILDFLY_DISTRIBUTION/modules/` to the folder `$WILDFLY_HOME/modules/`:

* `org/codehaus/groovy/groovy-all`
* `org/apache/groovy/groovy-all`


### Freemarker Integration
Expand All @@ -305,5 +305,3 @@ Add the following modules (if not existing) from the folder `$WILDFLY_DISTRIBUTI
* `org/graalvm/sdk/graal-sdk`
* `org/graalvm/truffle/truffle-api`
* `com/ibm/icu/icu4j`


8 changes: 7 additions & 1 deletion content/installation/full/tomcat/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,13 @@ In order to activate Camunda Spin functionality for a process engine, a process

Add the following artifacts (if not existing) from the folder `$TOMCAT_DISTRIBUTION/lib/` to the folder `$TOMCAT_HOME/lib/`:

* `groovy-all-$GROOVY_VERSION.jar`
* `groovy-$GROOVY_VERSION.jar`
* `groovy-jsr223-$GROOVY_VERSION.jar`
* `groovy-json-$GROOVY_VERSION.jar`
* `groovy-xml-$GROOVY_VERSION.jar`
* `groovy-templates-$GROOVY_VERSION.jar`
* `groovy-dateutil-$GROOVY_VERSION.jar`
* `groovy-datetime-$GROOVY_VERSION.jar`


## Freemarker Integration
Expand Down
2 changes: 2 additions & 0 deletions content/installation/full/was/manual-liberty.md
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ Add the following artifacts (if not existing) from the folder `$WAS_DISTRIBUTION
* `groovy-json-$GROOVY_VERSION.jar`
* `groovy-xml-$GROOVY_VERSION.jar`
* `groovy-templates-$GROOVY_VERSION.jar`
* `groovy-dateutil-$GROOVY_VERSION.jar`
* `groovy-datetime-$GROOVY_VERSION.jar`

## GraalVM JavaScript integration

Expand Down
43 changes: 36 additions & 7 deletions content/user-guide/dmn-engine/expressions-and-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,45 @@ You can also use every other script language which provides a [JSR-223]
implementation. This includes `groovy`, `python` and `ruby`. To use these
languages you have to add the corresponding dependency to your project.
For example, to use `groovy` as language for expressions add this dependency
For example, to use `groovy` as language for expressions add these dependencies
to your project `pom.xml`:
```xml
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<!-- please update this version if needed -->
<version>2.4.5</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
<version>${GROOVY_VERSION}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-jsr223</artifactId>
<version>${GROOVY_VERSION}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-json</artifactId>
<version>${GROOVY_VERSION}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-xml</artifactId>
<version>${GROOVY_VERSION}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-templates</artifactId>
<version>${GROOVY_VERSION}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-dateutil</artifactId>
<version>${GROOVY_VERSION}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-datetime</artifactId>
<version>${GROOVY_VERSION}</version>
</dependency>
```
# Default Expression Languages
Expand Down
2 changes: 1 addition & 1 deletion content/user-guide/process-engine/scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ In case the Script Engine module should be installed globally and Wildfly is use
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.codehaus.groovy.groovy-all"
<module name="org.apache.groovy.groovy-all"
services="import" />
</dependencies>
</deployment>
Expand Down

0 comments on commit 0180f1b

Please sign in to comment.