This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/upgrade-to-jbake-261
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/feature/upgrade-to-jbake-261 
by this push:
     new bc8128f  SLING-7776 explicitly define used optional transitive 
dependencies
bc8128f is described below

commit bc8128f8457f46eb3e98c4c7729971d5a8871624
Author: Konrad Windszus <[email protected]>
AuthorDate: Fri Jul 13 10:07:46 2018 +0200

    SLING-7776 explicitly define used optional transitive dependencies
    
    adjust readme
---
 README.md |  6 +++---
 pom.xml   | 28 +++++++++++++++++++++-------
 2 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index 7dba4d9..29cc479 100644
--- a/README.md
+++ b/README.md
@@ -43,9 +43,9 @@ It's sometimes useful to ~~steal ideas~~ get inspiration from 
other projects usi
  * Incubator - https://github.com/apache/incubator
 
 ## JBake and other technotes
-* Currently using 2.5.1 via the `jbake-maven-plugin`, see under `/bin`, docs 
at http://jbake.org/docs/2.5.1
-* That version of JBake uses https://github.com/sirthias/pegdown for Markdown, 
syntax info at 
https://github.com/sirthias/pegdown/blob/master/src/test/resources/MarkdownTest103/Markdown%20Documentation%20-%20Syntax.md
 , extensions at 
http://www.decodified.com/pegdown/api/org/pegdown/Extensions.html
-* Using Groovy MarkupTemplateEngine, examples at 
https://github.com/jbake-org/jbake-example-project-groovy-mte , docs for that 
engine at http://groovy-lang.org/templating.html#_the_markuptemplateengine
+* Currently using 2.6.1 via the `jbake-maven-plugin`, see under `/bin`, docs 
at http://jbake.org/docs/2.6.1
+* That version of JBake uses [Flexmark](https://github.com/vsch/flexmark-java) 
as parser for Markdown and [Pegdown 
extensions](https://github.com/sirthias/pegdown)
+* The templates use the [Groovy Markup Template 
Engine](http://groovy-lang.org/templating.html#_the_markuptemplateengine), 
other examples are provided at 
https://github.com/jbake-org/jbake-example-project-groovy-mte
 
 
 ## Useful scripts and commands
diff --git a/pom.xml b/pom.xml
index 2231fbc..8e4ef60 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,14 +44,28 @@
 
         <!-- dependencies -->
         <dependencies>
-          <!-- as soon as this dependency is modified to 2.6.1 (or removed) it 
can no longer load the markdown engine
-            and emits "[WARNING] Unable to load a suitable rendering engine 
for extensions [md]".
-            Version 2.6.0 works without any issues.
-           -->
+          <!-- the following are only optional dependencies of jbake-core and 
+               therefore need to be listed explicitly here to be loaded.
+               The versions should be the same as listed in jbake-core.
+               Compare with 
https://github.com/jbake-org/jbake-maven-plugin/issues/14.
+          -->
+          <!-- for parsing MD -->
           <dependency>
-            <groupId>org.jbake</groupId>
-            <artifactId>jbake-core</artifactId>
-            <version>2.6.1</version>
+            <groupId>com.vladsch.flexmark</groupId>
+            <artifactId>flexmark</artifactId>
+            <version>${flexmark.version}</version>
+          </dependency>
+          <!-- for supporting MD pegdown extensions -->
+          <dependency>
+            <groupId>com.vladsch.flexmark</groupId>
+            <artifactId>flexmark-profile-pegdown</artifactId>
+            <version>${flexmark.version}</version>
+          </dependency>
+          <!-- for supporting groovy templates with extension tpl -->
+          <dependency>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy-templates</artifactId>
+            <version>2.4.15</version>
           </dependency>
         </dependencies>
 

Reply via email to