876bcdcf11
Before this change, we have been publishing the whole of webhelp to the website which is: du -hs target/docbkx/webhelp/* 11M target/docbkx/webhelp/admin-guide-cloud 2.3M target/docbkx/webhelp/autopdf 836K target/docbkx/webhelp/bk-admin-guide-cloud.xml 6.8M target/docbkx/webhelp/cloud 22M target/docbkx/webhelp/fonts 1.9M target/docbkx/webhelp/images This patch now cleanes up the publishing so that webhelp only contains the admin-guide-cloud directory as it should. The patch also does some minor cleanup of the pom file and removes an unneeded generate-pdf execution. Note: If this patch gets accepted, I will look at the other pom files as well. Change-Id: Iafcb227d9a65776f0beb9750463f7b54e9f05269
78 lines
3.8 KiB
XML
78 lines
3.8 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">
|
|
<parent>
|
|
<groupId>org.openstack.docs</groupId>
|
|
<artifactId>parent-pom</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>openstack-admin-guide-cloud</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>OpenStack Cloud Administrator Guide</name>
|
|
<properties>
|
|
<!-- This is set by Jenkins according to the branch. -->
|
|
<release.path.name></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 set in ../pom.xml -->
|
|
<executions>
|
|
<execution>
|
|
<id>generate-webhelp</id>
|
|
<goals>
|
|
<goal>generate-webhelp</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<!-- These parameters only apply to webhelp -->
|
|
<enableDisqus>${comments.enabled}</enableDisqus>
|
|
<disqusShortname>os-cloud-admin-guide</disqusShortname>
|
|
<enableGoogleAnalytics>1</enableGoogleAnalytics>
|
|
<googleAnalyticsId>UA-17511903-1</googleAnalyticsId>
|
|
<generateToc>
|
|
appendix toc,title
|
|
article/appendix nop
|
|
article toc,title
|
|
book toc,title,figure,table,example,equation
|
|
chapter toc,title
|
|
section toc
|
|
part toc,title
|
|
qandadiv toc
|
|
qandaset toc
|
|
reference toc,title
|
|
set toc,title
|
|
</generateToc>
|
|
<!-- 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>
|
|
<webhelpDirname>admin-guide-cloud</webhelpDirname>
|
|
<pdfFilenameBase>admin-guide-cloud</pdfFilenameBase>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<!-- These parameters apply to pdf and webhelp -->
|
|
<xincludeSupported>true</xincludeSupported>
|
|
<sourceDirectory>.</sourceDirectory>
|
|
<includes>
|
|
bk-admin-guide-cloud.xml
|
|
</includes>
|
|
<canonicalUrlBase>http://docs.openstack.org/admin-guide-cloud/content/</canonicalUrlBase>
|
|
<profileSecurity>reviewer</profileSecurity>
|
|
<branding>openstack</branding>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|