org.trimou:trimou-extension-spring-boot-starter

Starter and auto-configuration for building Spring MVC web applications using Trimou

License

License

Categories

Categories

Spring Boot Container Microservices
GroupId

GroupId

org.trimou
ArtifactId

ArtifactId

trimou-extension-spring-boot-starter
Last Version

Last Version

2.5.1.Final
Release Date

Release Date

Type

Type

jar
Description

Description

Starter and auto-configuration for building Spring MVC web applications using Trimou

Download trimou-extension-spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/org.trimou/trimou-extension-spring-boot-starter/ -->
<dependency>
    <groupId>org.trimou</groupId>
    <artifactId>trimou-extension-spring-boot-starter</artifactId>
    <version>2.5.1.Final</version>
</dependency>
// https://jarcasting.com/artifacts/org.trimou/trimou-extension-spring-boot-starter/
implementation 'org.trimou:trimou-extension-spring-boot-starter:2.5.1.Final'
// https://jarcasting.com/artifacts/org.trimou/trimou-extension-spring-boot-starter/
implementation ("org.trimou:trimou-extension-spring-boot-starter:2.5.1.Final")
'org.trimou:trimou-extension-spring-boot-starter:jar:2.5.1.Final'
<dependency org="org.trimou" name="trimou-extension-spring-boot-starter" rev="2.5.1.Final">
  <artifact name="trimou-extension-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.trimou', module='trimou-extension-spring-boot-starter', version='2.5.1.Final')
)
libraryDependencies += "org.trimou" % "trimou-extension-spring-boot-starter" % "2.5.1.Final"
[org.trimou/trimou-extension-spring-boot-starter "2.5.1.Final"]

Dependencies

compile (4)

Group / Artifact Type Version
org.trimou : trimou-extension-spring4-mvc jar 2.5.1.Final
org.springframework.boot : spring-boot-autoconfigure jar
org.springframework.boot : spring-boot-starter-web jar
org.springframework.boot : spring-boot-configuration-processor Optional jar

test (2)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar
org.trimou : trimou-extension-spring4-mvc test-jar 2.5.1.Final

Project Modules

There are no modules declared in this project.

Trimou - Trim Your Mustache Templates!

Trimou site Travis CI Build Status Maven Central Gitter License

Trimou is a templating engine. It's a Mustache implementation but Helpers API inspired by Handlebars.js is also supported. The goal is to provide a simple to use and easy to extend templating engine for any Java SE or Java EE application.

There are some ready-to-use extensions which provide integration with CDI, Servlets, PrettyTime, HtmlCompressor, google-gson, JSON Processing Object Model API (JSR 353), Spring MVC, Dropwizard and EL 3.0.

Get Started

All the artifacts are available in the Maven Central Repository:

<dependency>
  <groupId>org.trimou</groupId>
  <artifactId>trimou-core</artifactId>
  <version>${version.trimou}</version>
</dependency>

Use the MustacheEngineBuilder to build a MustacheEngine - a central point for template management.

// Build the engine - don't configure anything but use sensible defaults
MustacheEngine engine = MustacheEngineBuilder.newBuilder().build();
// Compile the template - no caching and no template locators used
Mustache mustache = engine.compileMustache("Hello {{this}}!");
// Render "Hello world!"
System.out.println(mustache.render("world"));

Examples

Building Trimou

Simply run:

$ mvn clean install

Versions

Version
2.5.1.Final
2.5.0.Final
2.4.0.Final
2.3.0.Final
2.2.1.Final
2.2.0.Final