Apache Sling Scripting Thymeleaf

Clone this repo:
  1. 10bdfc5 SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 9 hours ago master
  2. 4a4ca3b SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 2 days ago
  3. 23b2d15 SLING-9996 Update Thymeleaf to 3.0.12 by Oliver Lietz · 5 weeks ago
  4. 34f4440 remove obsolete and duplicated properties by Oliver Lietz · 5 weeks ago
  5. c1ef4c5 SLING-9703 Enable code coverage with JaCoCo by Oliver Lietz · 5 weeks ago

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)