fc1ef13b5a
Change-Id: Ib512aefacc6bd4210fc3ae6c598c74ff3b948724
192 lines
11 KiB
XML
192 lines
11 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-guide</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<name>OpenStack Guides</name>
|
|
<!-- ################################################ -->
|
|
<!-- USE "mvn clean generate-sources" to run this POM -->
|
|
<!-- ################################################ -->
|
|
<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>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>target/docbkx/pdf</directory>
|
|
<excludes>
|
|
<exclude>**/*.fo</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>com.rackspace.cloud.api</groupId>
|
|
<artifactId>clouddocs-maven-plugin</artifactId>
|
|
<version>1.0.4</version>
|
|
<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>
|
|
<goals>
|
|
<goal>generate-webhelp</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<!-- These parameters only apply to webhelp -->
|
|
<enableDisqus>1</enableDisqus>
|
|
<disqusShortname>openstackdocs</disqusShortname>
|
|
<enableGoogleAnalytics>1</enableGoogleAnalytics>
|
|
<googleAnalyticsId>UA-17511903-6</googleAnalyticsId>
|
|
<generateToc>
|
|
appendix toc,title
|
|
article/appendix nop
|
|
article toc,title
|
|
book title,figure,table,example,equation
|
|
chapter toc,title
|
|
part toc,title
|
|
preface 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>
|
|
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
|
|
<postProcess>
|
|
<!-- Copies the figures to the correct location for webhelp -->
|
|
<copy todir="${basedir}/target/docbkx/webhelp/openstack-compute-admin/os-compute-adminguide/figures">
|
|
<fileset dir="${basedir}/src/docbkx/figures">
|
|
<include name="**/*.*" />
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="${basedir}/target/docbkx/webhelp/openstack-image-service-admin/os-image-adminguide/figures">
|
|
<fileset dir="${basedir}/src/docbkx/openstack-image-service-admin/figures">
|
|
<include name="**/*.png" />
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="${basedir}/target/docbkx/webhelp/openstack-object-storage-admin/os-objectstorage-adminguide/figures">
|
|
<fileset dir="${basedir}/src/docbkx/figures">
|
|
<include name="**/*.png" />
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="${basedir}/target/docbkx/webhelp/openstack-compute-admin/os-compute-adminguide/figures">
|
|
<fileset dir="${basedir}/src/docbkx/figures">
|
|
<include name="**/*.*" />
|
|
</fileset>
|
|
</copy>
|
|
|
|
<!-- Copies webhelp (HTML output) to desired URL location on docs.openstack.org -->
|
|
<copy todir="${basedir}/target/docbkx/webhelp/trunk/openstack-compute/admin/">
|
|
<fileset
|
|
dir="${basedir}/target/docbkx/webhelp/openstack-compute-admin/os-compute-adminguide/">
|
|
<include name="**/*" />
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="${basedir}/target/docbkx/webhelp/trunk/openstack-identity/admin/">
|
|
<fileset
|
|
dir="${basedir}/target/docbkx/webhelp/openstack-identity-service-starter/os-identity-starter-guide/">
|
|
<include name="**/*" />
|
|
</fileset>
|
|
</copy>
|
|
|
|
<copy
|
|
todir="${basedir}/target/docbkx/webhelp/trunk/openstack-object-storage/admin">
|
|
<fileset
|
|
dir="${basedir}/target/docbkx/webhelp/openstack-object-storage-admin/os-objectstorage-adminguide/">
|
|
<include name="**/*" />
|
|
</fileset>
|
|
</copy>
|
|
|
|
|
|
<copy
|
|
todir="${basedir}/target/docbkx/webhelp/trunk/openstack-image-service/admin">
|
|
<fileset
|
|
dir="${basedir}/target/docbkx/webhelp/openstack-image-service-admin/os-image-adminguide/">
|
|
<include name="**/*" />
|
|
</fileset>
|
|
</copy>
|
|
|
|
|
|
<!--Moves PDFs to the needed placement -->
|
|
<move failonerror="false"
|
|
file="${basedir}/target/docbkx/pdf/openstack-compute-admin/os-compute-adminguide.pdf"
|
|
tofile="${basedir}/target/docbkx/webhelp/trunk/openstack-compute/admin/os-compute-adminguide-trunk.pdf"/>
|
|
<move failonerror="false"
|
|
file="${basedir}/target/docbkx/pdf/openstack-image-service-admin/os-image-adminguide.pdf"
|
|
tofile="${basedir}/target/docbkx/webhelp/trunk/openstack-image-service/admin/os-image-adminguide-trunk.pdf"/>
|
|
<move failonerror="false"
|
|
file="${basedir}/target/docbkx/pdf/openstack-object-storage-admin/os-objectstorage-adminguide.pdf"
|
|
tofile="${basedir}/target/docbkx/webhelp/trunk/openstack-object-storage/admin/os-objectstorage-adminguide-trunk.pdf"/>
|
|
<move failonerror="false"
|
|
file="${basedir}/target/docbkx/pdf/openstack-identity-service-starter/os-identity-starter-guide.pdf"
|
|
tofile="${basedir}/target/docbkx/webhelp/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf"/>
|
|
|
|
<!--Deletes leftover uneeded directories -->
|
|
<delete dir="${basedir}/target/docbkx/webhelp/openstack-compute-admin"/>
|
|
<delete dir="${basedir}/target/docbkx/webhelp/openstack-object-storage-admin"/>
|
|
<delete dir="${basedir}/target/docbkx/webhelp/openstack-image-service-admin"/>
|
|
<delete dir="${basedir}/target/docbkx/webhelp/openstack-identity-service-starter"/>
|
|
|
|
</postProcess>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<!-- These parameters apply to pdf and webhelp -->
|
|
<xincludeSupported>true</xincludeSupported>
|
|
<sourceDirectory>src/docbkx</sourceDirectory>
|
|
<includes>
|
|
openstack-compute-admin/os-compute-adminguide.xml,
|
|
openstack-object-storage-admin/os-objectstorage-adminguide.xml,
|
|
openstack-image-service-admin/os-image-adminguide.xml
|
|
</includes>
|
|
<profileSecurity>reviewer</profileSecurity>
|
|
<branding>openstack</branding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|