<?xml version="1.0"?>

<!--
  ~ Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.
  ~
  ~ This copyrighted material is made available to anyone wishing to use, modify,
  ~ copy, or redistribute it subject to the terms and conditions of the GNU
  ~ Lesser General Public License, v. 2.1. This program is distributed in the
  ~ hope that it will be useful, but WITHOUT A WARRANTY; without even the implied
  ~ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~ Lesser General Public License for more details. You should have received a
  ~ copy of the GNU Lesser General Public License, v.2.1 along with this
  ~ distribution; if not, write to the Free Software Foundation, Inc.,
  ~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  ~
  ~ Red Hat Author(s): Steve Ebersole
  -->
<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">

    <!-- NOTE : the need for this parent goes away largely if we move to using a PO approach for translations -->

    <modelVersion>4.0.0</modelVersion>

    <parent>
    	<groupId>org.hibernate</groupId>
    	<artifactId>hibernate-core-parent</artifactId>
    	<version>1</version>
        <!-- if we have both parents checked out then use the realtive path... -->
        <relativePath>../core-parent/pom.xml</relativePath>
    </parent>
    
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-manual-parent</artifactId>
    <packaging>pom</packaging>
    <version>1</version>
    <name>Hibernate Core Manual Parent</name>
    <description>Parent POM for the Hibernate Core reference manual modules</description>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jboss.maven.plugins</groupId>
                <artifactId>maven-jdocbook-plugin</artifactId>
                <version>2.0.0</version>
		<extensions>true</extensions>
                <dependencies>
                    <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-jdocbook-style</artifactId>
                        <version>1.0.0</version>
                        <type>jdocbook-style</type>
                    </dependency>
                </dependencies>
                <configuration>
                    <sourceDocumentName>master.xml</sourceDocumentName>
                    <formats>
                        <format>
                            <formatName>pdf</formatName>
                            <stylesheetResource>classpath:/xslt/standard/fopdf.xsl</stylesheetResource>
                            <finalName>hibernate_reference.pdf</finalName>
                        </format>
                        <format>
                            <formatName>html</formatName>
                            <stylesheetResource>classpath:/xslt/standard/html.xsl</stylesheetResource>
                            <finalName>index.html</finalName>
                        </format>
                    </formats>
                    <options>
                        <xincludeSupported>false</xincludeSupported>
                    </options>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <properties>
        <masterTranslation>en-US</masterTranslation>
    </properties>

</project>
