Fork me on GitHub

Jinja Maven Plugin

The Jinja Maven Plugin is used to automatically render concrete resources using Jinja templating engine during project build time.

Goals Overview

The Jinja Maven Plugin has only one goal. See this diagram for a visual understanding of the process.

  • jinja:generate attempts to renders concrete resources from Jinja template files as part of Maven build process based on user defined resourceSet in plugin configuration.

Configure Plugin

Details of plugin configuration (resource and resourceSet) are available at this link.

Installation and Usage

General instructions on how to install and use this plugin can be found in the installation and usage guide.

In case you still have questions regarding the plugin's usage, please feel free to contact us by raising an issue via the link available on our issue tracker page. It is also worth browsing/ searching through the older issues as well, as someone else might have had the same issue/ question as you.

If you feel like the plugin is missing a feature or has a defect, you can fill a feature request or bug report via the link on our issue tracker page. When creating a new issue, please provide a comprehensive description of your concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason, entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated.

Of course, patches are welcome too. Contributors can check out the project from our source repository.

Examples

Some specific use cases are described in the examples section or side navigation. Resources for these examples can be found at this link.