<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
 
     <parent>
        <groupId>org.atomhopper</groupId>
        <artifactId>parent</artifactId>
        <version>1.0.2</version>
    </parent>    

    <groupId>org.atomhopper</groupId>
    <artifactId>documentation</artifactId>
    <packaging>pom</packaging>

    <name>ATOM Hopper - Documentation</name>
    
    <pluginRepositories>
        <pluginRepository>
            <id>rackspace-research</id>
            <name>Rackspace Research Repository</name>
            <url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
        </pluginRepository>
    </pluginRepositories>     

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>batik-maven-plugin</artifactId>
                <version>1.0-beta-1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>rasterize</goal>
                        </goals>
                        <configuration>
                            <!-- identify locations of figures -->
                            <srcDir>${basedir}/src/resources/figures</srcDir>
                            <destDir>${basedir}/target/docbkx/webhelp/ah/content/figures</destDir>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <!-- plugin for RACKBOOK (Rackspace + DocBook) document formatting 
                  talk to Rose Coste if you need help -->
            <plugin>
                <groupId>com.rackspace.cloud.api</groupId>
                <artifactId>clouddocs-maven-plugin</artifactId>
                <!-- this <version> relates only to the *plugin* used for document formatting 
                    the version of the *software* that is the subject of the document is indicated within each document:
                    look for <releaseinfo> near <pubdate>, both in the <info> section
                    1.1.0 of the plugin is compatible with Maven 2 for inclusion in the Jenkins build & color-formats sample code -->
                <version>1.1.0</version>
                <executions>
                    <execution>
                        <id>doc</id>
                        <goals>
                            <!-- 2 output formats: PDF for print; HTML for online -->
                            <goal>generate-pdf</goal>
                            <goal>generate-webhelp</goal>
                        </goals>
                        <phase>generate-sources</phase>
                        <configuration>
                            <!-- don't fail build for validation errors yet; someday -->
                            <failOnValidationError>no</failOnValidationError>
                            <!-- do show better error messages -->
                            <showXslMessages>true</showXslMessages>
                            <!-- support inclusion from external /samples/, /figures/, etc -->
                            <xincludeSupported>true</xincludeSupported>
                            <!-- set branding to OPENSTACK or RACKSPACE or omit (default = RACKSPACE)
                            <branding>openstack</branding> -->
                            <!-- for WebHelp only : 
                                enableDisqus turns on Disqus feature for feedback if any value other than "0"; 
                                if "intranet", use TildeHash (open source, can be private) rather than Disqus (proprietary, must be public)  
                                disqusShortname = Disqus account where moderator is collecting this feedback 
                                feedbackemail gets comments from Disqus or Tildehash -->
                            <enableDisqus>intranet</enableDisqus>
                            <feedbackEmail>rose.coste@rackspace.com</feedbackEmail>
                            <disqusShortname>rc-integration</disqusShortname>
                            <!-- open at the What Is It? page 
                                 or use index.html to open Webhelp at the front matter: copyright page, list of tables, list of figures, list of examples -->
                            <htmlhelpDefaultTopic>Introduction-000.html</htmlhelpDefaultTopic>
                            <!-- look here for the .xml and everything to include such as samples and figures -->
                            <sourceDirectory>src/resources</sourceDirectory>
                            <!-- highlightSource bolds some elements of sample code but disables linewrapping -->
                            <highlightSource>true</highlightSource>
                            <!-- enable callouts to label samples -->
                            <useExtensions>1</useExtensions>
                            <calloutsExtension>1</calloutsExtension>
                            <textinsertExtension>1</textinsertExtension>
                            <!-- use this .XML as the source for the books to be generated as .PDF & .HTML 
                                 if not specified, generate for all 
                            <includes>ah-intro.xml</includes> -->
                            <!-- customize source of product logo as path from pom.xml -->
                            <coverLogoPath>src/resources/img/atomhopper-sponsored-by-rackspace.png</coverLogoPath>
                            <!-- customize position of product logo as inches in from left -->
                            <coverLogoLeft>4in</coverLogoLeft>
                            <!-- customize position of product logo as inches down from top -->
                            <coverLogoTop>5.5in</coverLogoTop>
                            <!-- customize more-info link on cover: show project home page  
                                 <coverUrl> value is displayed as-is but "http://" is prepended to link so don't specify it for display -->
                            <coverUrl>www.atomhopper.org</coverUrl>
                            <!-- customize color of wide band on doc cover as RGB: 00FF00 is true green -->
                            <coverColor>99CC66</coverColor>
                        </configuration>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>org.docbook</groupId>
                        <artifactId>docbook-xml</artifactId>
                        <version>4.4</version>
                        <scope>runtime</scope>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>
</project>