<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">

   <!-- Parent -->
   <parent>
      <groupId>org.jboss.shrinkwrap</groupId>
      <artifactId>shrinkwrap-parent</artifactId>
      <version>1.0.0-alpha-13-SNAPSHOT</version>
      <relativePath>../../pom.xml</relativePath>
   </parent>

   <modelVersion>4.0.0</modelVersion>

   <artifactId>shrinkwrap-reference-guide</artifactId>
   <packaging>jdocbook</packaging>
   <name>ShrinkWrap Reference Guide</name>

   <properties>
      <mpjdocbook.version>2.2.0</mpjdocbook.version>
      <pdf.name>${project.artifactId}.pdf</pdf.name>
   </properties>


   <build>
      <plugins>
         <plugin>
            <groupId>org.jboss.maven.plugins</groupId>
            <artifactId>maven-jdocbook-plugin</artifactId>
            <version>${mpjdocbook.version}</version>
            <extensions>true</extensions>

            <dependencies>
               <dependency>
                  <groupId>org.jboss</groupId>
                  <artifactId>jbossorg-docbook-xslt</artifactId>
                  <version>1.1.0</version>
               </dependency>
               <dependency>
                  <groupId>org.jboss</groupId>
                  <artifactId>jbossorg-jdocbook-style</artifactId>
                  <version>1.1.0</version>
                  <type>jdocbook-style</type>
               </dependency>
            </dependencies>
            <configuration>
               <sourceDocumentName>master.xml</sourceDocumentName>
               <formats>
                  <format>
                     <formatName>pdf</formatName>
                     <stylesheetResource>classpath://xslt/org/jboss/pdf.xsl</stylesheetResource>
                  </format>
                  <format>
                     <formatName>html</formatName>
                     <stylesheetResource>classpath://xslt/org/jboss/xhtml.xsl</stylesheetResource>
                  </format>
                  <format>
                     <formatName>html_single</formatName>
                     <stylesheetResource>classpath://xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
                  </format>
               </formats>
               <options>
                  <xincludeSupported>true</xincludeSupported>
                  <xmlTransformerType>saxon</xmlTransformerType>
                  <docbookVersion>1.72.0</docbookVersion>
                  <transformerParameters>
                     <property>
                        <name>javax.xml.parsers.DocumentBuilderFactory</name>
                        <value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
                     </property>
                     <property>
                        <name>javax.xml.parsers.SAXParserFactory</name>
                        <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
                     </property>
                  </transformerParameters>
                  <localeSeparator>-</localeSeparator>
               </options>
            </configuration>

         </plugin>
      </plugins>
   </build>
</project>
