https://github.com/itamarc/itemplate
ITemplate is a Java library to fill text templates with variable content.
https://github.com/itamarc/itemplate
java library templates text
Last synced: about 2 months ago
JSON representation
ITemplate is a Java library to fill text templates with variable content.
- Host: GitHub
- URL: https://github.com/itamarc/itemplate
- Owner: itamarc
- License: lgpl-3.0
- Created: 2021-05-04T00:42:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T20:41:45.000Z (almost 5 years ago)
- Last Synced: 2025-01-20T10:48:22.495Z (over 1 year ago)
- Topics: java, library, templates, text
- Language: Java
- Homepage: https://itamarc.github.io/itemplate/
- Size: 232 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ITemplate Java
_Fill in text templates with variable content_
(a.k.a. org.gjt.itemplate)
This library was created by Itamar Carvalho and was inspired by Perl Text::Template module (see http://www.cpan.org).
This project was once hosted in the Giant Java Tree site (http://www.gjt.org).
For more information, see the [README](https://github.com/itamarc/itemplate/blob/master/doc/README) file in "doc" folder.
## :gear: Maven
This library is on Maven Central Repository (through Sonatype.org).
To use this library in a Maven project, you can use this code in your `pom.xml`:
```xml
io.github.itamarc
itemplate
1.2
```
## :white_check_mark: Unit Tests
To generate a report of code coverage of the unit tests it's possible to use JaCoCo (https://github.com/jacoco).
It's already properly configured in ITemplate's `pom.xml` and you can generate the report using a command like this:
mvn clean jacoco:prepare-agent test jacoco:report