disable dependabot
1 file changed
tree: 279440e45dd6bf80b74f51fbe5b411e1d01823f1
  1. src/
  2. .asf.yaml
  3. .gitignore
  4. bnd.bnd
  5. CODE_OF_CONDUCT.md
  6. CONTRIBUTING.md
  7. Jenkinsfile
  8. LICENSE
  9. pom.xml
  10. README.md
README.md

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central Contrib scripting License

Apache Sling Scripting Thymeleaf

This module is part of the Apache Sling project.

This module provides a scripting engine for Thymeleaf templates.

Features

Installation

For running Sling Scripting Thymeleaf with Sling Starter some dependencies need to be resolved. This can be achieved by installing the following bundles:

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.thymeleaf/3.0.9.RELEASE_1
mvn:org.attoparser/attoparser/2.0.5.RELEASE
mvn:org.unbescape/unbescape/1.1.6.RELEASE
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ognl/3.2.1_1
mvn:org.javassist/javassist/3.23.1-GA

There is a feature for Karaf:

karaf@root()> feature:install sling-scripting-thymeleaf

Note: Sling Scripting Thymeleaf requires an implementation of OSGi Declarative Services 1.3 (e.g. Apache Felix Service Component Runtime 2.0.0 or greater)