Open vondeetzen opened 9 years ago
The JBake maven plugin requires some dependencies. The "jbake" pom.xml defines as optional the libraries for pegdown (the markdown parser), asciidoctorj (the ad parser), freemaker (the .ftl renderer), groovy (the groovy renderer) and thymeleaf (the thyme renderer).
You can configure these dependencies in the maven pom.xml:
<build>
:
<plugins>
:
<!-- webite generation using blake -->
<plugin>
<groupId>br.com.ingenieux</groupId>
<artifactId>jbake-maven-plugin</artifactId>
<version>0.0.9</version>
<!-- dependencies -->
<dependencies>
<!-- optional : a jbake version -->
<dependency>
<groupId>org.jbake</groupId>
<artifactId>jbake-core</artifactId>
<version>2.3.2</version>
</dependency>
<!-- for freemarker templates (.ftl) -->
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.20</version>
</dependency>
<!-- for markdown parsing (.md) -->
<dependency>
<groupId>org.pegdown</groupId>
<artifactId>pegdown</artifactId>
<version>1.4.2</version>
</dependency>
</dependencies>
</plugin>
:
<plugins>
:
<build>
After running mvn jbake:generate the generated html files are empty (0 bytes) The output tells me that no template engine was found.
If I go directly to src/main/jbake and run jbake everything is fine. Output folder is created and the site gets generated.
Maybe I'm missing something?