The Eclipse Krazo Extensions are additional view engines which can be used in conjunction with Jakarta MVC and Eclipse Krazo. The
extensions try to keep up to date with the current Krazo release, but individual extensions might be bound to an
older release (e. g. the Handlebars extensions) because of missing jakarta.*
namespace compatible template engines.
- Asciidoc
- Freemarker
- Handlebars (MVC 1.0 / Krazo 1.0 ONLY)
- Jinja2
- Mustache
- Pebble
- StringTemplate ST4
- Thymeleaf
- Velocity
Eclipse Krazo Extensions contains a testsuite which is configured to run against Glassfish. For additional environments please file a pull request.
- Maven 3.8.x
- JDK 11 or newer
- optional: SNAPSHOTs are up to date in your local repository for latest versions
Please ensure you use the Jakarta EE Codestyle to avoid conflicts and a lot of whitespace changes.
To run the Krazo testsuite with Eclipse Glassfish, you need to follow these steps:
- Download Eclipse Glassfish (min. Glassfish 7) from the official download page and unzip it.
- Start Eclipse Glassfish via
glassfishX/glassfish/bin/startserv
. Replace theX
with your Glassfish version. - Go into the
testsuite
package of Eclipse Krazo Extentions and executemvn clean verify -Ptestsuite-glassfish
This section contains a few resources relevant for Krazo Extension developers.
This project uses a Jenkins Pipeline as its CI pipeline. The pipeline is configured to run on all branches and pull requests. As there is no webhook available, the repository is scanned every two minutes.
To check if a dependency requires a CQ, the command mvn -Pstaging org.eclipse.dash:license-tool-plugin:license-check -Ddash.skip=false
can be executed. This creates a summary file in target/dash/summary
.