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)

This commit is contained in:
stack 2014-07-15 21:24:36 -07:00
parent 58727343f2
commit 58982e2027
1 changed files with 14 additions and 2 deletions

16
pom.xml
View File

@ -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>