Git Product home page Git Product logo

Comments (10)

meowhrs avatar meowhrs commented on August 15, 2024

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.

aldrinleal avatar aldrinleal commented on August 15, 2024

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.

meowhrs avatar meowhrs commented on August 15, 2024

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.

aldrinleal avatar aldrinleal commented on August 15, 2024

Move your dependencies under the plugin/ section as shown by the reference:

http://maven.apache.org/pom.html#Plugins

from jbake-maven-plugin.

meowhrs avatar meowhrs commented on August 15, 2024

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.

jonbullock avatar jonbullock commented on August 15, 2024

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.

aldrinleal avatar aldrinleal commented on August 15, 2024

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.

meowhrs avatar meowhrs commented on August 15, 2024

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.

aldrinleal avatar aldrinleal commented on August 15, 2024

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
much in the way of coding but I'll definitely contribute in testing where I
can. Here is the pom.xml that works.

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


Reply to this email directly or view it on GitHub
#8 (comment)
.

from jbake-maven-plugin.

meowhrs avatar meowhrs commented on August 15, 2024

ok - I updated the xml - is that what you meant ?

from jbake-maven-plugin.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.