Repository: hbase
Updated Branches:
  refs/heads/master 58727343f -> 58982e202


HBASE-11521 Modify pom.xml to copy the images/ and css/ directories to the 
right location for the Ref Guide to see them correctly (Misty Stanley-Jones)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/58982e20
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/58982e20
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/58982e20

Branch: refs/heads/master
Commit: 58982e2027228676a059dff845b14ed5b4f2bb9f
Parents: 5872734
Author: stack <st...@apache.org>
Authored: Tue Jul 15 21:24:36 2014 -0700
Committer: stack <st...@apache.org>
Committed: Tue Jul 15 21:24:36 2014 -0700

----------------------------------------------------------------------
 pom.xml | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/58982e20/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bb76f5c..b417d47 100644
--- a/pom.xml
+++ b/pom.xml
@@ -804,9 +804,15 @@
             <configuration>
               <navigShowtitles>true</navigShowtitles>
               <chunkedOutput>true</chunkedOutput>
-              <imgSrcPath>../images/</imgSrcPath>
+              <imgSrcPath>${basedir}/src/main/docbkx/images/</imgSrcPath>
               <htmlStylesheet>../css/freebsd_docbook.css</htmlStylesheet>
               <targetDirectory>${basedir}/target/docbkx/book</targetDirectory>
+              <preProcess>
+                <copy todir="target/docbkx/book">
+                  <fileset dir="src/main/docbkx/images/" />
+                  <fileset dir="src/main/docbkx/css/" />
+                </copy>
+              </preProcess>
             </configuration>
           </execution>
           <execution>
@@ -816,9 +822,15 @@
             </goals>
             <phase>pre-site</phase>
             <configuration>
-              <imgSrcPath>images/</imgSrcPath>
+              <imgSrcPath>${basedir}/src/main/docbkx/images/</imgSrcPath>
               <htmlStylesheet>css/freebsd_docbook.css</htmlStylesheet>
               <targetDirectory>${basedir}/target/docbkx/</targetDirectory>
+              <preProcess>
+                <copy todir="target/docbkx/book">
+                  <fileset dir="src/main/docbkx/images/" />
+                  <fileset dir="src/main/docbkx/css/" />
+                </copy>
+              </preProcess>
             </configuration>
           </execution>
         </executions>

Reply via email to