openstack-manuals/doc/user-guide-admin/pom.xml
Andreas Jaeger c12a0526ff Avoid having twice Appendix A
Both user-guide and user-guide-admin had two versions appendices
labelled "A". The problem was setting appendixAutolabel to 1 in
the pom.xml file and manual overrides of the number in the files.
The patch cleanes all of this up and renames ch_resources.xml
to an appendix part.

security-guide and training-guide also set this variable but did
not have an appendix yet, so remove the variable there as well.

Change-Id: I446f4968b675d3286f2302071ddfa8037425fd6f
2013-09-28 19:18:56 +02:00

102 lines
3.9 KiB
XML

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.openstack.docs</groupId>
<artifactId>openstack-admin-user-guide</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>OpenStack Guides</name>
<properties>
<!-- This is set by Jenkins according to the branch. -->
<release.path.name>grizzly</release.path.name>
<comments.enabled>1</comments.enabled>
</properties>
<!-- ################################################ -->
<!-- USE "mvn clean generate-sources" to run this POM -->
<!-- ################################################ -->
<build>
<plugins>
<plugin>
<groupId>com.rackspace.cloud.api</groupId>
<artifactId>clouddocs-maven-plugin</artifactId>
<version>1.10.0</version>
<executions>
<!-- Configuration for OpenStack End User Guide -->
<execution>
<id>os-adminuserguide</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<profileOs>adminuser</profileOs>
<includes> bk-admin-user-guide.xml</includes>
<generateToc>
appendix toc
article/appendix nop
article toc,title
book toc,title,figure,equation
chapter toc
section toc
part toc,title
preface toc
qandadiv toc
qandaset toc
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>
</execution>
</executions>
<configuration>
<profileOs>adminuser</profileOs>
<chapterAutolabel>1</chapterAutolabel>
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<formalProcedures>0</formalProcedures>
<highlightSource>false</highlightSource>
<xincludeSupported>true</xincludeSupported>
<showXslMessages>true</showXslMessages>
<sourceDirectory>.</sourceDirectory>
<feedbackEmail>diane.fleming@rackspace.com</feedbackEmail>
<security>external</security>
<branding>openstack</branding>
<enableDisqus>${comments.enabled}</enableDisqus>
<disqusShortname>os-user-admin-guide</disqusShortname>
<enableGoogleAnalytics>1</enableGoogleAnalytics>
<googleAnalyticsId>UA-17511903-1</googleAnalyticsId>
<suppressFooterNavigation>0</suppressFooterNavigation>
<formalProcedures>0</formalProcedures>
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>Rackspace Research Repositories</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>rackspace-research</id>
<name>Rackspace Research Repository</name>
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>rackspace-research</id>
<name>Rackspace Research Repository</name>
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>