template-machine

Templating engines for files

Лицензия

Лицензия

Группа

Группа

eu.ralph-schuster
Идентификатор

Идентификатор

template-machine
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

template-machine
Templating engines for files
Ссылка на сайт

Ссылка на сайт

https://github.com/technicalguru/template-machine
Система контроля версий

Система контроля версий

https://github.com/technicalguru/template-machine

Скачать template-machine

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/eu.ralph-schuster/template-machine/ -->
<dependency>
    <groupId>eu.ralph-schuster</groupId>
    <artifactId>template-machine</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/eu.ralph-schuster/template-machine/
implementation 'eu.ralph-schuster:template-machine:1.0.2'
// https://jarcasting.com/artifacts/eu.ralph-schuster/template-machine/
implementation ("eu.ralph-schuster:template-machine:1.0.2")
'eu.ralph-schuster:template-machine:jar:1.0.2'
<dependency org="eu.ralph-schuster" name="template-machine" rev="1.0.2">
  <artifact name="template-machine" type="jar" />
</dependency>
@Grapes(
@Grab(group='eu.ralph-schuster', module='template-machine', version='1.0.2')
)
libraryDependencies += "eu.ralph-schuster" % "template-machine" % "1.0.2"
[eu.ralph-schuster/template-machine "1.0.2"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.freemarker : freemarker jar 2.3.30
commons-cli : commons-cli jar 1.4
commons-io : commons-io jar 2.7
commons-codec : commons-codec jar 1.14
org.slf4j : slf4j-api jar 1.7.30
org.slf4j : slf4j-log4j12 jar 1.7.30

test (2)

Идентификатор библиотеки Тип Версия
commons-lang : commons-lang jar 2.6
junit : junit jar 4.13.1

Модули Проекта

Данный проект не имеет модулей.

template-machine

Generate files based on directory-structured templates (supporting i18n and defaults with overriding)

Synopsis

This application allows you to generate a complex tree of files based on Freemarker templates. The very specific of this application is that configuration, localizations and templates can be overridden in sub-folders of the tree as well as default language values and language aliases can be defined.

Status and Roadmap

The project is stable. APIs are will not change in major versions. I use it a productive setup at a larger corporate to produce email templates in various languages and for various subsidiaries in a large scale.

Features

  • Generates a tree of files based on a tree of templates
  • Provides localization, default localization values and language aliases
  • Sub-folders can override configurations, localizations and templates
  • CLI interface and programmatic API to control the generation

Maven Coordinates

<dependency>
	<groupId>eu.ralph-schuster</groupId>
	<artifactId>template-machine</artifactId>
	<version>1.0.2</version>
</dependency>

Documentation

API Reference

API Javadoc for all versions is available via javadoc.io.

License

template-machine is free software: you can redistribute it and/or modify it under the terms of version 3 of the GNU Lesser General Public License as published by the Free Software Foundation.

template-machine is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with template-machine. If not, see https://www.gnu.org/licenses/lgpl-3.0.html.

Summary:

  1. You are free to use all this code in any private or commercial project.
  2. You must distribute license and author information along with your project.
  3. You are not required to publish your own source code.

Contributions

Report a bug, request an enhancement or pull request at the GitHub Issue Tracker. Make sure you have checked out the Contribution Guideline

Версии библиотеки

Версия
1.0.2
1.0.0
0.9.0