springmvc-mustache

Mustache templating with spring mvc

License

License

GroupId

GroupId

com.github.mjeanroy
ArtifactId

ArtifactId

springmvc-mustache
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

springmvc-mustache
Mustache templating with spring mvc
Project URL

Project URL

https://github.com/mjeanroy/springmvc-mustache
Source Code Management

Source Code Management

https://github.com/mjeanroy/springmvc-mustache

Download springmvc-mustache

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.mjeanroy/springmvc-mustache/ -->
<dependency>
    <groupId>com.github.mjeanroy</groupId>
    <artifactId>springmvc-mustache</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.mjeanroy/springmvc-mustache/
implementation 'com.github.mjeanroy:springmvc-mustache:2.0.0'
// https://jarcasting.com/artifacts/com.github.mjeanroy/springmvc-mustache/
implementation ("com.github.mjeanroy:springmvc-mustache:2.0.0")
'com.github.mjeanroy:springmvc-mustache:jar:2.0.0'
<dependency org="com.github.mjeanroy" name="springmvc-mustache" rev="2.0.0">
  <artifact name="springmvc-mustache" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.mjeanroy', module='springmvc-mustache', version='2.0.0')
)
libraryDependencies += "com.github.mjeanroy" % "springmvc-mustache" % "2.0.0"
[com.github.mjeanroy/springmvc-mustache "2.0.0"]

Dependencies

compile (10)

Group / Artifact Type Version
org.springframework : spring-context jar 5.2.6.RELEASE
org.springframework : spring-web jar 5.2.6.RELEASE
org.springframework : spring-webmvc jar 5.2.6.RELEASE
org.springframework.boot : spring-boot-autoconfigure Optional jar 2.3.0.RELEASE
org.slf4j : slf4j-api Optional jar 1.7.30
org.apache.logging.log4j : log4j-api Optional jar 2.13.3
org.apache.logging.log4j : log4j-core Optional jar 2.13.3
com.samskivert : jmustache Optional jar 1.15
com.github.jknack : handlebars Optional jar 4.2.0
com.github.spullara.mustache.java : compiler Optional jar 0.9.6

provided (2)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.1.0
javax.servlet.jsp : jsp-api jar 2.0

test (11)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter jar 5.6.0
org.assertj : assertj-core jar 3.16.1
org.mockito : mockito-core jar 3.3.3
org.apache.commons : commons-lang3 jar 3.10
commons-io : commons-io jar 2.7
nl.jqno.equalsverifier : equalsverifier jar 3.3
org.springframework : spring-test jar 5.2.6.RELEASE
org.slf4j : jcl-over-slf4j jar 1.7.30
org.apache.logging.log4j : log4j-to-slf4j jar 2.13.3
ch.qos.logback : logback-core jar 1.2.3
ch.qos.logback : logback-classic jar 1.2.3

Project Modules

There are no modules declared in this project.

SpringMVC-Mustache


Build Status Maven Central

Simple library that will allow you to use a mustache templates with your SpringMVC application.

Note: this library use jmustache, handlebars or mustache.java under the hood.

Documentation - Javadoc - Changelog

Documentation

  • Full documentation can be found here
  • Javadoc can be found here

Samples

If you clone the repository, you will find samples using:

  • JMustache (Java Config & XML Config).
  • Mustache.java (Java Config & XML Config).
  • Handlebars (Java Config & XML Config).
  • Spring boot with JMustache implementation.

These samples are really simple (render a really simple template with partial). Do not hesitate to submit your sample if you want.

## Licence

MIT License (MIT)

## Contributing

If you found a bug or you thing something is missing, feel free to contribute and submit an issue or a pull request.

Versions

Version
2.0.0
1.0.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0