mavenjbake

How to use jbake-maven-plugin without using a pom.xml


I have jbake based site with the normal structure with assets, content, templates. However, i would like to use the watch goal jbake-maven-plugin. But the jbake-sample seems to be a maven based java project. Could i use the jbake-maven-plugin without a pom.xml and without converting my structure to a java project.

jbake-maven-plugin - https://github.com/jbake-org/jbake-maven-plugin

jbake-sample - https://github.com/ingenieux/jbake-sample


Solution

  • Without a pom.xml, no you can not use neither Maven nor any of the plugins as the project won't be interpreted as a Mavenized project.

    Thus you will have to create at least a minimalistic project descriptor file (pom.xml) to get the basics working. (I'm talking from a pure Maven point of view as I'm little experienced with jbake).