
* Add canonicalUrlBase * Add glossaryCollection - this will not build the glossary, but make glossterms work and silence build warnings * Remove profileSecurity setting, we should always use the default of external. Partial-Bug: #1273135 Change-Id: I7ff5b79de2a845382335da8e779ee34e20316f87
132 lines
6.0 KiB
XML
132 lines
6.0 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-ops-manual</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>jar</packaging>
|
|
<name>OpenStack Manuals</name>
|
|
|
|
<properties>
|
|
<!-- This is set by Jenkins according to the branch. -->
|
|
<release.path.name>local</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.13.0</version>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>generate-webhelp</id>
|
|
<goals>
|
|
<goal>generate-webhelp</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<!-- These parameters only apply to webhelp -->
|
|
<!-- <pdfUrl>../openstack-ops-manual-${operating.system}-${release.path.name}.pdf</pdfUrl> -->
|
|
<enableDisqus>${comments.enabled}</enableDisqus>
|
|
<sourceDirectory>.</sourceDirectory>
|
|
<disqusShortname>openstack-ops</disqusShortname>
|
|
<enableGoogleAnalytics>1</enableGoogleAnalytics>
|
|
<googleAnalyticsId>UA-17511903-1</googleAnalyticsId>
|
|
|
|
<chapterAutolabel>1</chapterAutolabel>
|
|
<appendixAutolabel>1</appendixAutolabel>
|
|
<sectionAutolabel>0</sectionAutolabel>
|
|
<tocSectionDepth>1</tocSectionDepth>
|
|
<formalProcedures>0</formalProcedures>
|
|
<generateToc>
|
|
appendix toc,title
|
|
article/appendix nop
|
|
article toc,title
|
|
book toc,title,figure,table,equation
|
|
chapter toc
|
|
part toc,title
|
|
acknowledgements toc,title
|
|
preface toc
|
|
qandadiv toc
|
|
qandaset toc
|
|
reference toc,title
|
|
section toc
|
|
set toc,title
|
|
</generateToc>
|
|
|
|
<targetDirectory>target/docbkx/webhelp/${release.path.name}</targetDirectory>
|
|
<webhelpDirname>openstack-ops</webhelpDirname>
|
|
<pdfFilenameBase>openstack-ops-manual-${release.path.name}</pdfFilenameBase>
|
|
<pageWidth>7.44in</pageWidth>
|
|
<pageHeight>9.68in</pageHeight>
|
|
<doubleSided>1</doubleSided>
|
|
<omitCover>1</omitCover>
|
|
</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="openstack-ops/**"/>
|
|
</fileset>
|
|
</delete>
|
|
</postProcess>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<!-- These parameters apply to pdf and webhelp -->
|
|
<xincludeSupported>true</xincludeSupported>
|
|
<sourceDirectory>.</sourceDirectory>
|
|
<includes>bk_ops_guide.xml </includes>
|
|
<branding>openstack</branding>
|
|
<glossaryCollection>glossary-terms.xml</glossaryCollection>
|
|
<canonicalUrlBase>http://docs.openstack.org/${release.path.name}/openstack-ops/content/</canonicalUrlBase>
|
|
</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>
|