[ 
https://issues.apache.org/jira/browse/HBASE-11533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101798#comment-14101798
 ] 

stack commented on HBASE-11533:
-------------------------------

We are docbook 4.x because no one cared otherwise up to this.

I just tried slotting in 5.1 with below patch and it seems to work (didn't vet 
the output):  If output is ok, we should move there?  5.0 does a bunch of 
simplification.

{code}
diff --git a/pom.xml b/pom.xml
index 997b013..fe19977 100644
--- a/pom.xml
+++ b/pom.xml
@@ -774,14 +774,6 @@
         <artifactId>docbkx-maven-plugin</artifactId>
         <version>2.0.15</version>
         <inherited>false</inherited>
-        <dependencies>
-          <dependency>
-            <groupId>org.docbook</groupId>
-            <artifactId>docbook-xml</artifactId>
-            <version>4.4</version>
-            <scope>runtime</scope>
-          </dependency>
-        </dependencies>
         <configuration>
           <sourceDirectory>${basedir}/src/main/docbkx</sourceDirectory>
           <xincludeSupported>true</xincludeSupported>
@@ -794,6 +786,16 @@
           <insertXrefPageNumber>yes</insertXrefPageNumber>
           <chunkerOutputEncoding>UTF-8</chunkerOutputEncoding>
         </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>net.sf.docbook</groupId>
+            <artifactId>docbook-xml</artifactId>
+            <version>5.1b4-all</version>
+            <classifier>resources</classifier>
+            <type>zip</type>
+            <scope>runtime</scope>
+          </dependency>
+        </dependencies>
         <executions>
           <execution>
             <id>multipage</id>
{code}

> AsciiDoctor POC
> ---------------
>
>                 Key: HBASE-11533
>                 URL: https://issues.apache.org/jira/browse/HBASE-11533
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build, documentation
>            Reporter: Misty Stanley-Jones
>            Assignee: Misty Stanley-Jones
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Convert or create a subset of documentation in Asciidoc and integrate 
> Asciidoctor into the Maven build. http://asciidoctor.org/
> Get some folks to play around with it afterward.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to