Comments (10)
sorry - I meant the FreeMarker dependencies in the previous thread. they are also in my pom.xml file as I was trying both.
from jbake-maven-plugin.
paste your pom please :)
Sent from my Windows Phone
-----Original Message-----
From: "meowhrs" [email protected]
Sent: 3/9/2015 9:57 AM
To: "ingenieux/jbake-maven-plugin" [email protected]
Subject: [jbake-maven-plugin] Unable to load a suitable rendering engine forextensions ad, adoc, asciidoc
hello
I'm using the 0.0.9 version of the jbake maven plugin to try it out for some documentation. When I build with the goal jbake.watch or jbake.inline, I get the error about suitable rendering engines. I added the thymeleaf dependencies into my pom.xml, and I've looked at the parser/Engines.java internal documentation, but I'm still a little unclear on how to set this up. Thank you.
—
Reply to this email directly or view it on GitHub.
from jbake-maven-plugin.
Sure - thanks for taking a look.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>my.rest.documentation</groupId>
<artifactId>my-documentation</artifactId><version>0.0.1-SNAPSHOT</version>
<repositories>
<repository>
<id>central</id>
<name>Maven Central Repository</name>
<url> https://repo1.maven.org/maven2</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</dependency>
<dependency>
<groupId>org.jbake</groupId>
<artifactId>jbake-core</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>br.com.ingenieux</groupId>
<artifactId>jbake-maven-plugin</artifactId>
<version>0.0.9</version>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf</artifactId>
<version>2.1.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring3</artifactId>
<version>2.1.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring4</artifactId>
<version>2.1.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.22</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>br.com.ingenieux</groupId>
<artifactId>jbake-maven-plugin</artifactId>
<version>0.0.9</version>
</plugin>
</plugins>
</build>
</project>
from jbake-maven-plugin.
Move your dependencies under the plugin/ section as shown by the reference:
http://maven.apache.org/pom.html#Plugins
from jbake-maven-plugin.
ah thank you. I'm still a maven noob -:)
So things have improved - I can see my localhost site being rendered (so it can see the template engines) but not the markdown engines.
Unable to load a suitable rendering engine for extensions [md] [WARNING] Unable to load a suitable rendering engine for extensions [ad, adoc, asciidoc]
I guess I should add these dependencies in separately? Is jbake pretty agnostic about which markdown engine you're using? For example if I want to use .md extensions, what is a good markdown engine to add (I see a few on the web like 'smarkdown' ) - not really sure what is supported. I was happily using Jekyll before but this is no longer an option :/
from jbake-maven-plugin.
You should use Pegdown for Markdown formatted content:
<dependency>
<groupId>org.pegdown</groupId>
<artifactId>pegdown</artifactId>
<version>1.4.2</version>
</dependency>
from jbake-maven-plugin.
can you please paste it back the pom so it could serve as a general tip?
-- Aldrin Leal, [email protected]
Master your EC2-fu! Get the latest ekaterminal public beta
http://www.ingenieux.com.br/products/ekaterminal/
On Mon, Mar 9, 2015 at 3:52 PM, Jonathan Bullock [email protected]
wrote:
You should use Pegdown for Markdown formatted content:
org.pegdown pegdown 1.4.2—
Reply to this email directly or view it on GitHub
#8 (comment)
.
from jbake-maven-plugin.
yes - it's working now. Thanks again - really nice project. I can't offer much in the way of coding but I'll definitely contribute in testing where I can. Here is the pom.xml that works.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>uts-rest-documentation</groupId>
<artifactId>uts-documentation</artifactId><version>0.0.1-SNAPSHOT</version>
<repositories>
<repository>
<id>central</id>
<name>Maven Central Repository</name>
<url> https://repo1.maven.org/maven2</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>br.com.ingenieux</groupId>
<artifactId>jbake-maven-plugin</artifactId>
<version>0.0.9</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</dependency>
<dependency>
<groupId>org.jbake</groupId>
<artifactId>jbake-core</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>br.com.ingenieux</groupId>
<artifactId>jbake-maven-plugin</artifactId>
<version>0.0.9</version>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf</artifactId>
<version>2.1.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring3</artifactId>
<version>2.1.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring4</artifactId>
<version>2.1.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.22</version>
</dependency>
<dependency>
<groupId>org.pegdown</groupId>
<artifactId>pegdown</artifactId>
<version>1.4.2</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
from jbake-maven-plugin.
a formatted version would help a lot :)
-- Aldrin Leal, [email protected]
Master your EC2-fu! Get the latest ekaterminal public beta
http://www.ingenieux.com.br/products/ekaterminal/
On Mon, Mar 9, 2015 at 4:25 PM, meowhrs [email protected] wrote:
yes - it's working now. Thanks again - really nice project. I can't offer
4.0.0 my-rest-documentation my-documentation0.0.1-SNAPSHOT central Maven Central Repository https://repo1.maven.org/maven2 br.com.ingenieux jbake-maven-plugin 0.0.9 org.apache.maven.plugins maven-install-plugin 2.5.2 org.jbake jbake-core 2.3.2 br.com.ingenieux jbake-maven-plugin 0.0.9 org.thymeleaf thymeleaf 2.1.4.RELEASE org.thymeleaf thymeleaf-spring3 2.1.4.RELEASE org.thymeleaf thymeleaf-spring4 2.1.4.RELEASE org.freemarker freemarker 2.3.22 org.pegdown pegdown 1.4.2
much in the way of coding but I'll definitely contribute in testing where I
can. Here is the pom.xml that works.—
Reply to this email directly or view it on GitHub
#8 (comment)
.
from jbake-maven-plugin.
ok - I updated the xml - is that what you meant ?
from jbake-maven-plugin.
Related Issues (13)
- Lacking a jbake:initialize mojo HOT 12
- Change jBake dependency to point to jBake 2.4.0
- Generating Maven reports HOT 2
- Question: url/port for jbake:watch? HOT 1
- add a flag to add maven dependencies to the classpath HOT 7
- Publish releases to maven central HOT 15
- Lifecycle mapping - opening tag does not match closing tag HOT 1
- Making maven jbake project structure to default jbake structure HOT 2
- Override jbake properties from the plugin maven configuration HOT 4
- Add in optional dependencies for template engines and content formats HOT 2
- Plugin in version 0.0.8 fails to commit message to github. HOT 1
- jbake:inline fails after one change HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jbake-maven-plugin.