Merge "Cleanup pom.xml"

This commit is contained in:
Jenkins 2014-01-27 21:25:31 +00:00 committed by Gerrit Code Review
commit 2bfbfd3cc4
9 changed files with 8 additions and 94 deletions

View File

@ -27,21 +27,7 @@
<!-- version is set in ../pom.xml file -->
<executions>
<execution>
<id>goal1</id>
<goals>
<goal>generate-pdf</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<highlightSource>false</highlightSource>
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
</configuration>
</execution>
<execution>
<id>goal2</id>
<id>generate-webhelp</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
@ -69,9 +55,8 @@
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
<targetDirectory>${basedir}/target/docbkx/webhelp/${release.path.name}/config-reference</targetDirectory>
<webhelpDirname>/</webhelpDirname>
<pdfFilenameBase>bk-config-guide-${release.path.name}</pdfFilenameBase>
<webhelpDirname>${release.path.name}/config-reference</webhelpDirname>
<pdfFilenameBase>config-reference-${release.path.name}</pdfFilenameBase>
</configuration>
</execution>
</executions>

View File

@ -33,20 +33,7 @@
<!-- version is set in ../pom.xml file -->
<executions>
<execution>
<id>goal1</id>
<goals>
<goal>generate-pdf</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<highlightSource>false</highlightSource>
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
<sectionAutolabel>0</sectionAutolabel>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
</configuration>
</execution>
<execution>
<id>goal2</id>
<id>generate-webhelp</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
@ -64,7 +51,6 @@
<sectionAutolabel>0</sectionAutolabel>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
<webhelpDirname>glossary</webhelpDirname>
<targetDirectory>${basedir}/target/docbkx/webhelp</targetDirectory>
</configuration>
</execution>
</executions>

View File

@ -26,20 +26,6 @@
<artifactId>clouddocs-maven-plugin</artifactId>
<!-- version is set in ../pom.xml file -->
<executions>
<execution>
<id>generate-pdf</id>
<goals>
<goal>generate-pdf</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<highlightSource>false</highlightSource>
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
</configuration>
</execution>
<execution>
<id>generate-webhelp</id>
<goals>
@ -69,7 +55,6 @@
<sectionAutolabel>0</sectionAutolabel>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
<webhelpDirname>high-availability-guide</webhelpDirname>
<targetDirectory>${basedir}/target/docbkx/webhelp</targetDirectory>
<includeDateInPdfFilename>0</includeDateInPdfFilename>
<pdfFilenameBase>high-availability-guide</pdfFilenameBase>
</configuration>

View File

@ -58,29 +58,10 @@
<tocSectionDepth>1</tocSectionDepth>
<tocChapterDepth>1</tocChapterDepth>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
<targetDirectory>target/docbkx/webhelp/</targetDirectory>
<webhelpDirname>image-guide</webhelpDirname>
<pdfFilenameBase>image-guide</pdfFilenameBase>
</configuration>
</execution>
<execution>
<id>cleanup</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<includes>dummy.xml</includes>
<postProcess>
<delete includeemptydirs="true">
<fileset dir="${basedir}/target/docbkx/webhelp" >
<include name="**/*"/>
<exclude name="image-guide/**"/>
</fileset>
</delete>
</postProcess>
</configuration>
</execution>
</executions>
<configuration>
<!-- These parameters apply to pdf and webhelp -->

View File

@ -58,30 +58,11 @@
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<formalProcedures>0</formalProcedures>
<webhelpDirname>${operating.system}</webhelpDirname>
<targetDirectory>${basedir}/target/docbkx/webhelp/${release.path.name}/install-guide/install</targetDirectory>
<webhelpDirname>${release.path.name}/install-guide/install/${operating.system}</webhelpDirname>
<includeDateInPdfFilename>0</includeDateInPdfFilename>
<pdfFilenameBase>openstack-install-guide-${operating.system}-${release.path.name}</pdfFilenameBase>
</configuration>
</execution>
<execution>
<id>cleanup</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<includes>dummy.xml</includes>
<postProcess>
<delete includeemptydirs="true" verbose="true">
<fileset dir="${basedir}/target/docbkx/webhelp/${release.path.name}" >
<include name="**/*"/>
<exclude name="install-guide/install/**"/>
</fileset>
</delete>
</postProcess>
</configuration>
</execution>
</executions>
<configuration>
<glossaryCollection>${basedir}/../glossary/glossary-terms.xml</glossaryCollection>

View File

@ -33,7 +33,6 @@
<includes>bk_openstack-sec-guide.xml</includes>
<sourceDirectory>.</sourceDirectory>
<canonicalUrlBase>http://docs.openstack.org/security-guide/content/</canonicalUrlBase>
<targetDirectory>${basedir}/target/docbkx/webhelp</targetDirectory>
<glossaryCollection>${basedir}/../glossary/glossary-terms.xml</glossaryCollection>
<webhelpDirname>security-guide</webhelpDirname>
<pdfFilenameBase>security-guide</pdfFilenameBase>

View File

@ -34,7 +34,6 @@
<configuration>
<includes>st-training-guides.xml</includes>
<sourceDirectory>.</sourceDirectory>
<targetDirectory>target/docbkx/webhelp/</targetDirectory>
<webhelpDirname>training-guides</webhelpDirname>
<pdfFilenameBase>training-guides</pdfFilenameBase>
<enableDisqus>${comments.enabled}</enableDisqus>

View File

@ -13,7 +13,7 @@
<name>OpenStack Admin User Guide</name>
<properties>
<!-- This is set by Jenkins according to the branch. -->
<release.path.name>grizzly</release.path.name>
<release.path.name>local</release.path.name>
<comments.enabled>1</comments.enabled>
</properties>
<!-- ################################################ -->
@ -28,7 +28,7 @@
<executions>
<!-- Configuration for OpenStack End User Guide -->
<execution>
<id>os-adminuserguide</id>
<id>generate-webhelp</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
@ -49,7 +49,6 @@
reference toc,title
set toc,title
</generateToc>
<targetDirectory>target/docbkx/webhelp/</targetDirectory>
<webhelpDirname>user-guide-admin</webhelpDirname>
<pdfFilenameBase>admin-user-guide-${release.path.name}</pdfFilenameBase>
</configuration>

View File

@ -28,7 +28,7 @@
<executions>
<!-- Configuration for OpenStack End User Guide -->
<execution>
<id>os-enduserguide</id>
<id>generate-webhelp</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
@ -49,7 +49,6 @@
reference toc,title
set toc,title
</generateToc>
<targetDirectory>target/docbkx/webhelp</targetDirectory>
<webhelpDirname>user-guide</webhelpDirname>
<pdfFilenameBase>user-guide</pdfFilenameBase>
</configuration>