= JBake Maven Plugin Jonathan Bullock 2021-04-20 :idprefix:
JBake Maven Plugin is a Maven plugin allowing you to integrate http://jbake.org[JBake] into your projects build. This is the official version published at the following Maven coordinates:
Special thanks must go to the original author of this plugin - https://github.com/aldrinleal[Aldrin Leal].
== Usage
To use JBake Maven Plugin in your build add the plugin into your pom.xml as shown below:
=== Dependencies
The plugin itself includes all required dependencies such as jbake-core, however you will need to explicitly declare dependencies for the content formats and template engines used in your project. As these dependencies are marked as optional to reduce bloat.
If you have AsciiDoc content you'll need this dependency:
If you have Markdown content you'll need these dependencies:
If you have Freemarker templates then you'll need this dependency:
If you have Groovy templates then you'll need these dependencies:
If you have Thymeleaf templates then you'll need this dependency:
If you have Jade4J templates then you'll need this dependency:
An example of the plugin being used can be found in this project: https://github.com/jonbullock/maven-jbake-site[https://github.com/jonbullock/maven-jbake-site]
== Goals
There are 4 goals provided by this plugin:
jbake:seed
- seeds your project/site with example content and templatesjbake:generate
- bakes your project/sitejbake:watch
- watches to changes and bakes your site whenever a change is detectedjbake:inline
- bakes, watches and serves out content on http://localhost:8820[http://localhost:8820]You can also more details on each goal by running the help goal:
== Versioning
The project adopts the http://semver.org[Semantic Versioning] spec to maintain an understandable backwards compatibility strategy.
The version format is as follows: