135 lines
6.6 KiB
XML
135 lines
6.6 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-object-api-guide</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>jar</packaging>
|
|
<name>OpenStack Specifications</name>
|
|
<!-- ################################################ -->
|
|
<!-- 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.8.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 -->
|
|
<enableDisqus>1</enableDisqus>
|
|
<disqusShortname>openstackdocs</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
|
|
section toc
|
|
part toc,title
|
|
preface toc
|
|
qandadiv toc
|
|
qandaset toc
|
|
reference toc,title
|
|
set toc,title
|
|
</generateToc>
|
|
|
|
<tocDepthSection>1</tocDepthSection>
|
|
<targetDirectory>target/docbkx/webhelp/api/openstack-object-storage</targetDirectory>
|
|
<webhelpDirname>1.0</webhelpDirname>
|
|
<pdfFilenameBase>os-objectstorage-devguide-1.0</pdfFilenameBase>
|
|
<postProcess>
|
|
<mkdir
|
|
dir="${basedir}/target/docbkx/webhelp/api/openstack-object-storage/1.0/"/>
|
|
|
|
<!-- Copies schema to a folder and styling for the schemas so a browser can display them -->
|
|
|
|
<copy
|
|
todir="${basedir}/target/docbkx/webhelp/api/openstack-object-storage/1.0/samples">
|
|
<fileset
|
|
dir="${basedir}/src/docbkx/samples">
|
|
<include name="**/*.*"/>
|
|
</fileset>
|
|
</copy>
|
|
|
|
<!-- <copy
|
|
todir="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/">
|
|
<fileset
|
|
dir="${basedir}/target/docbkx/webhelp/os-compute-devguide/">
|
|
<include name="**/*" />
|
|
</fileset>
|
|
</copy>-->
|
|
|
|
<!-- Copies wadl to a folder -->
|
|
<copy
|
|
todir="${basedir}/target/docbkx/webhelp/api/openstack-object-storage/1.0/">
|
|
<fileset dir="${basedir}/src/">
|
|
<include name="**/*.wadl"/>
|
|
</fileset>
|
|
</copy>
|
|
<!--Moves PDFs to the needed placement -->
|
|
<!--<move failonerror="false"
|
|
file="${basedir}/target/docbkx/pdf/os-compute-devguide.pdf"
|
|
tofile="${basedir}/target/docbkx/webhelp/api/openstack-compute/2/os-compute-devguide-2.pdf"/>
|
|
-->
|
|
|
|
<!--Deletes leftover uneeded directories -->
|
|
|
|
<delete
|
|
dir="${basedir}/target/docbkx/webhelp/os-object-storage-devguide"/>
|
|
</postProcess>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<!-- These parameters apply to pdf and webhelp -->
|
|
<xincludeSupported>true</xincludeSupported>
|
|
<sourceDirectory>src/docbkx</sourceDirectory>
|
|
<includes>
|
|
os-objectstorage-devguide.xml
|
|
</includes>
|
|
<profileSecurity>reviewer</profileSecurity>
|
|
<branding>openstack</branding>
|
|
</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>
|