Author: benlc
Date: 2010-07-28 02:20:59 -0400 (Wed, 28 Jul 2010)
New Revision: 23759
Added:
trunk/hibernatetools/docs/task-reference/pom.xml
Removed:
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Concepts-_Hibernate_configuration.xml
Modified:
trunk/hibernatetools/docs/task-reference/en-US/Hibernate_Tools_Reference_Guide.xml
trunk/hibernatetools/docs/task-reference/en-US/chap-Hibernate_Tools_Reference_Guide-Link_placeholder.xml
trunk/hibernatetools/docs/task-reference/en-US/chap-Hibernate_Tools_Reference_Guide-Tasks.xml
trunk/hibernatetools/docs/task-reference/en-US/proc-HIB-New_Hibernate_XML_Mapping_files.xml
trunk/hibernatetools/docs/task-reference/en-US/proc-JBT-New_JPA_Project.xml
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-References-Perspectives-Hibernate_console.xml
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Basic_tasks-Open_hibernate_console_perspective.xml
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Hibernate_mapping-Hibernate_mapping_file-Create.xml
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Java_persistence_API-Project_creation.xml
Log:
'committing changes to console perspective sections and adding pom'
Modified:
trunk/hibernatetools/docs/task-reference/en-US/Hibernate_Tools_Reference_Guide.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/Hibernate_Tools_Reference_Guide.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/Hibernate_Tools_Reference_Guide.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -4,7 +4,7 @@
%BOOK_ENTITIES;
]>
<book>
-<!--
+
<xi:include href="Book_Info.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Preface.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="chap-Hibernate_Tools_Reference_Guide-Legal_notices.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
@@ -12,18 +12,14 @@
<xi:include
href="chap-Hibernate_Tools_Reference_Guide-Latest_developments.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include
href="chap-Hibernate_Tools_Reference_Guide-Getting_started.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="chap-Hibernate_Tools_Reference_Guide-Concepts.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- -->
<xi:include href="chap-Hibernate_Tools_Reference_Guide-Tasks.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
-
- <xi:include href="chap-Hibernate_Tools_Reference_Guide-References.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
-
- <!--
+
+ <xi:include href="chap-Hibernate_Tools_Reference_Guide-References.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include
href="chap-Hibernate_Tools_Reference_Guide-Troubleshooting.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="chap-Hibernate_Tools_Reference_Guide-Hints.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="chap-Hibernate_Tools_Reference_Guide-Link_sets.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- -->
<xi:include
href="chap-Hibernate_Tools_Reference_Guide-Link_placeholder.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Revision_History.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<index />
Modified:
trunk/hibernatetools/docs/task-reference/en-US/chap-Hibernate_Tools_Reference_Guide-Link_placeholder.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/chap-Hibernate_Tools_Reference_Guide-Link_placeholder.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/chap-Hibernate_Tools_Reference_Guide-Link_placeholder.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -5,12 +5,12 @@
]>
<chapter id="chap-Hibernate_Tools_Reference_Guide-Link_placeholder">
<title>Link Placeholder</title>
- <formalpara id="new_server_runtime_placeholder"><title>New Target
Runtime</title>
+ <formalpara id="TODO_new_server_runtime_placeholder"><title>TODO
New Target Runtime</title>
<para>
TODO: Document new runtime server configuration.
</para>
</formalpara>
- <formalpara id="query_parameters_view_placeholder"><title>Query
Parameters View</title>
+ <formalpara
id="TODO_query_parameters_view_placeholder"><title>TODO Query
Parameters View</title>
<para>
TODO: Document query parameters view.
</para>
Modified:
trunk/hibernatetools/docs/task-reference/en-US/chap-Hibernate_Tools_Reference_Guide-Tasks.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/chap-Hibernate_Tools_Reference_Guide-Tasks.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/chap-Hibernate_Tools_Reference_Guide-Tasks.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -10,10 +10,14 @@
</para>
<xi:include
href="sect-Hibernate_Tools_Reference_Guide-Tasks-Basic_tasks.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include
href="sect-Hibernate_Tools_Reference_Guide-Tasks-Hibernate_mapping.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+
<xi:include
href="sect-Hibernate_Tools_Reference_Guide-Tasks-Hibernate_configuration.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+
<xi:include
href="sect-Hibernate_Tools_Reference_Guide-Tasks-Hibernate_query_language.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include
href="sect-Hibernate_Tools_Reference_Guide-Tasks-Code_generation_and_reverse_engineering.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+
<xi:include
href="sect-Hibernate_Tools_Reference_Guide-Tasks-Java_persistence_API.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+
<xi:include href="sect-Hibernate_Tools_Reference_Guide-Tasks-Logging.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include
href="sect-Hibernate_Tools_Reference_Guide-Tasks-Ant_tasks.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include
href="sect-Hibernate_Tools_Reference_Guide-Tasks-Controlling_POJO_code_generation.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
Modified:
trunk/hibernatetools/docs/task-reference/en-US/proc-HIB-New_Hibernate_XML_Mapping_files.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/proc-HIB-New_Hibernate_XML_Mapping_files.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/proc-HIB-New_Hibernate_XML_Mapping_files.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -8,9 +8,9 @@
<title>New Hibernate XML Mapping Files</title>
<step>
- <title>Access the Hibernate console</title>
+ <title>Access the Hibernate Console perspective</title>
<para>
- When performing Hibernate tasks, context sensitive menus will be available if
the Hibernate console is the active perspective. Accessing the Hibernate console is
described in <xref linkend="proc-JBT-Open_Perspective"></xref>.
+ When performing Hibernate tasks, context sensitive menus will be available if
the Hibernate Console perspective is the active perspective. Accessing the Hibernate
Console perspective is described in <xref
linkend="proc-JBT-Open_Perspective"></xref>.
</para>
<para>&HORIZ_LINE;</para>
</step>
@@ -46,7 +46,7 @@
</figure>
<note><title>Depth control</title>
<para>
- It is possible to specify the level to which object references are mapped
relative to the selected class as indicated in <xref
linkend="figure-HIB-New_Hibernate_XML_Mapping_files_001"></xref>.
+ It is possible to specify the level to which object references are mapped
relative to the selected class as by clicking the checkbox in <xref
linkend="figure-HIB-New_Hibernate_XML_Mapping_files_001"></xref>.
</para>
</note>
<para>&HORIZ_LINE;</para>
@@ -119,7 +119,7 @@
</figure>
<note><title>Creating multiple mapping files</title>
<para>
- It is possible to select the project, src folder or an individual package to
create multiple mapping files in a single action. All Java classes will be identified and
listed in the display of <xref
linkend="figure-HIB-New_Hibernate_XML_Mapping_files_003"></xref>.
Individual classes may then be selected and deselected by using the appropriate checkbox.
+ It is possible to select the project, src folder or an individual package to
create multiple mapping files in a single action. In this instance, all Java classes will
be identified and listed in the display of <xref
linkend="figure-HIB-New_Hibernate_XML_Mapping_files_003"></xref>.
Individual classes may then be selected and deselected by clicking the appropriate
checkbox.
</para>
</note>
</step>
Modified: trunk/hibernatetools/docs/task-reference/en-US/proc-JBT-New_JPA_Project.xml
===================================================================
--- trunk/hibernatetools/docs/task-reference/en-US/proc-JBT-New_JPA_Project.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++ trunk/hibernatetools/docs/task-reference/en-US/proc-JBT-New_JPA_Project.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -10,7 +10,7 @@
<orderedlist numeration ="loweralpha">
<listitem>
<para>
- Click on the <guilabel>JPA Project</guilabel> label by expanding
the <menuchoice><guimenu>JPA</guimenu></menuchoice> folder.
+ Click the <guilabel>JPA Project</guilabel> label by expanding
the <menuchoice><guimenu>JPA</guimenu></menuchoice> folder.
</para>
</listitem>
<listitem>
@@ -68,8 +68,8 @@
<row>
<entry>Project location</entry>
<entry>yes</entry>
- <entry>Click the <guilabel>Use default
location</guilabel> checkbox to define the project location as the workspace or
define a custom path in the <guilabel>Location</guilabel>
field.</entry>
- <entry>The default location corresponds to the workspace
location.</entry>
+ <entry>Click the <guilabel>Use default
location</guilabel> checkbox to define the project location as the Eclipse workspace
or define a custom path in the <guilabel>Location</guilabel>
field.</entry>
+ <entry>The default location corresponds to the Eclipse
workspace.</entry>
</row>
<row>
<entry>Target runtime</entry>
@@ -77,7 +77,7 @@
<entry>Select a pre-configured runtime from the available options
or configure a new runtime environment.</entry>
<entry>
<para>
- The target runtime defines the server to which the application will
be deployed. Runtime configuration is described in <xref
linkend="new_server_runtime_placeholder"/>.
+ The target runtime defines the server to which the application will
be deployed. Runtime configuration is described in <xref
linkend="TODO_new_server_runtime_placeholder"/>.
</para>
</entry>
</row>
@@ -229,14 +229,15 @@
<row>
<entry>Platform</entry>
<entry>yes</entry>
- <entry>Select from the available platforms.</entry>
- <entry>The project can be based on a variety of platforms as
described in <xref
linkend="table-JBT-New_JPA_Project_004"/></entry>
+ <entry>Select from the list of available vendor specific JPA
implementations.</entry>
+ <entry>The project can be based on a variety of JPA
implementations as described in <xref
linkend="table-JBT-New_JPA_Project_004"/></entry>
</row>
<row>
<entry>JPA implementation</entry>
<entry>yes</entry>
- <entry>Select from a user library or disable the library
configuration. Selecting the user library option results in the ability to package the
libraries within the application by checking the checkbox.</entry>
- <entry>If a user library is selected, the libraries may be
imported or created by clicking on the <guiicon>Manage libraries</guiicon>
icon. Similarly, libraries may be downloaded by clicking on the <guiicon>Download
libraries</guiicon> icon.</entry>
+ <entry>Select from a user library or disable the library
configuration for the JPA implementation.</entry>
+ <entry>The libraries may be imported or created by clicking the
<guiicon>Manage libraries</guiicon> icon.
+ Similarly, libraries may be downloaded by clicking the
<guiicon>Download libraries</guiicon> icon. The libraries also may be packaged
within the application.</entry>
</row>
<row>
<entry>Connection</entry>
@@ -244,7 +245,7 @@
<entry>The database connection for the project is defined here.
Select from <guilabel>None</guilabel> or <guilabel>BIRT Classic Model
Sample Database</guilabel>.</entry>
<entry>
<para>
- Clicking on the <guilabel>Add connection</guilabel>
link will display a list of database conections. Selecting the appropriate type and
proceeding by selecting the driver will configure the connection for the project.
+ Clicking the <guilabel>Add connection</guilabel> link
will display a list of database conections. Selecting the appropriate type and proceeding
by selecting the driver will configure the connection for the project.
</para>
</entry>
</row>
@@ -264,7 +265,7 @@
<entry>Check the box to generate a mapping file which will be
stored in the <filename>META-INF</filename> folder.</entry>
<entry>
<para>
- An orm.xml file specifies the persistence of classes in the form of
meta-data rather than using annotated classes. TODO: Anything else here.
+ An orm.xml file specifies the persistence of classes in the form of
meta-data rather than using annotated classes.
</para>
</entry>
</row>
@@ -286,23 +287,23 @@
<tbody>
<row>
<entry>EclipseLink 2.0.x</entry>
- <entry>TODO explanation here.</entry>
+ <entry>The project will be based on an Eclipse Persistence Services
Project (EclipseLink) 2.0.x JPA implementation.</entry>
</row>
<row>
<entry>EclipseLink 2.1.x</entry>
- <entry>TODO explanation here.</entry>
+ <entry>The project will be based on an EclipseLink 2.1.x
configuration.</entry>
</row>
<row>
<entry>Generic 2.0</entry>
- <entry>TODO explanation here.</entry>
+ <entry>The project will be based on a Generic JPA 2.0
configuration.</entry>
</row>
<row>
<entry>Hibernate</entry>
- <entry>TODO explanation here.</entry>
+ <entry>The project will be based on a Hibernate
configuration.</entry>
</row>
<row>
<entry>Hibernate jpa 2.0</entry>
- <entry>TODO explanation here.</entry>
+ <entry>The project will be based on a Hibernate jpa 2.0
configuration.</entry>
</row>
</tbody>
</tgroup>
Deleted:
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Concepts-_Hibernate_configuration.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Concepts-_Hibernate_configuration.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Concepts-_Hibernate_configuration.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -1,14 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Hibernate_Tools_Reference_Guide.ent">
-%BOOK_ENTITIES;
-]>
-<section
id="sect-Hibernate_Tools_Reference_Guide-Concepts-_Hibernate_configuration">
- <title> Hibernate configuration</title>
- <para>
-
- </para>
- <xi:include
href="sect-Hibernate_Tools_Reference_Guide-Concepts-_Hibernate_configuration-hibernate.properties.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include
href="sect-Hibernate_Tools_Reference_Guide-Concepts-_Hibernate_configuration-hibernate.cfg.xml.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
-
-</section>
\ No newline at end of file
Modified:
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-References-Perspectives-Hibernate_console.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-References-Perspectives-Hibernate_console.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-References-Perspectives-Hibernate_console.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -6,17 +6,17 @@
<section
id="sect-Hibernate_Tools_Reference_Guide-References-Hibernate_console">
<title>Hibernate console</title>
<para>
- The relevant perspective for Hibernate Tools is the Hibernate console perspective.
This perspective can be accessed according to <xref
linkend="proc-JBT-Open_Perspective"/>.
+ The relevant perspective for Hibernate Tools is the Hibernate Console perspective.
This perspective can be accessed according to <xref
linkend="proc-JBT-Open_Perspective"/>.
</para>
<figure id="figure-HIB-Hibernate_Console_Perspective_001">
- <title>The Hibernate Console Perspective</title>
+ <title>The Hibernate Console</title>
<mediaobject>
<imageobject>
<imagedata
fileref="images/image-HIB-Hibernate_Console_Perspective_001.png"
format="PNG"/>
</imageobject>
<textobject>
- <para>The Hibernate Console Perspective</para>
+ <para>The Hibernate Console</para>
</textobject>
</mediaobject>
</figure>
@@ -26,7 +26,7 @@
<formalpara><title>Perspective Views</title>
<para>
- The <guilabel>Hibernate</guilabel> console perspective is made up of the
following views:
+ The <guilabel>Hibernate</guilabel> Console perspective is made up of the
following views:
</para>
</formalpara>
<itemizedlist>
@@ -40,7 +40,7 @@
<para><xref
linkend="sect-Hibernate_Tools_Reference_Guide-References-Hibernate_query_result"></xref>.</para>
</listitem>
<listitem>
- <para><xref
linkend="query_parameters_view_placeholder"></xref>.</para>
+ <para><xref
linkend="TODO_query_parameters_view_placeholder"></xref>.</para>
</listitem>
</itemizedlist>
<para>&FEEDBACK-References-Hibernate_console;</para>
Modified:
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Basic_tasks-Open_hibernate_console_perspective.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Basic_tasks-Open_hibernate_console_perspective.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Basic_tasks-Open_hibernate_console_perspective.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -6,7 +6,7 @@
<section
id="sect-Hibernate_Tools_Reference_Guide-Tasks-Open_hibernate_console_perspective">
<title>Open hibernate console perspective</title>
<para>
- <xref linkend="proc-JBT-Open_Perspective"/> describes the steps to
open the Hibernate perspective.
+ <xref linkend="proc-JBT-Open_Perspective"/> describes the steps to
open the Hibernate Console perspective.
</para>
<xi:include href="proc-JBT-Open_Perspective.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<para>&FEEDBACK-Tasks-Open_hibernate_console_perspective;</para>
Modified:
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Hibernate_mapping-Hibernate_mapping_file-Create.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Hibernate_mapping-Hibernate_mapping_file-Create.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Hibernate_mapping-Hibernate_mapping_file-Create.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -6,7 +6,7 @@
<section
id="sect-Hibernate_Tools_Reference_Guide-Tasks-Hibernate_mapping_file-Create">
<title>Create</title>
<para>
- Hibernate mapping files can be created by following the procedure in <xref
linkend="proc-HIB-New_Hibernate_XML_Mapping_files"></xref>
+ Hibernate mapping files can be created by following the procedure in <xref
linkend="proc-HIB-New_Hibernate_XML_Mapping_files"></xref>.
</para>
<xi:include href="proc-HIB-New_Hibernate_XML_Mapping_files.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<para>&FEEDBACK-Tasks-Hibernate_mapping_file-Create;</para>
Modified:
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Java_persistence_API-Project_creation.xml
===================================================================
---
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Java_persistence_API-Project_creation.xml 2010-07-28
00:49:51 UTC (rev 23758)
+++
trunk/hibernatetools/docs/task-reference/en-US/sect-Hibernate_Tools_Reference_Guide-Tasks-Java_persistence_API-Project_creation.xml 2010-07-28
06:20:59 UTC (rev 23759)
@@ -6,9 +6,9 @@
<section
id="sect-Hibernate_Tools_Reference_Guide-Tasks-Project_creation">
<title>Project creation</title>
<para>
- <!-- <xref linkend="proc-JBT-New_Project"/> describes the steps to
create a new project in JBoss Tools. -->
+ <xref linkend="proc-JBT-New_Project"/> describes the steps to create
a new project in JBoss Tools.
</para>
- <!-- <xi:include href="proc-JBT-New_Project.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" /> -->
+ <xi:include href="proc-JBT-New_Project.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<para>
Continue by defining a JPA project type as described in <xref
linkend="proc-JBT-New_JPA_Project"/>:
</para>
Added: trunk/hibernatetools/docs/task-reference/pom.xml
===================================================================
--- trunk/hibernatetools/docs/task-reference/pom.xml (rev 0)
+++ trunk/hibernatetools/docs/task-reference/pom.xml 2010-07-28 06:20:59 UTC (rev 23759)
@@ -0,0 +1,218 @@
+<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>
+ <groupId>org.jboss.project</groupId>
+ <artifactId>${docname}-${translation}</artifactId>
+ <version>1.0</version>
+ <packaging>jdocbook</packaging>
+ <name>${bookname}-(${translation})</name>
+
+ <properties>
+ <translation>en-US</translation>
+ <docname>Hibernate_Tools_Reference_Guide</docname>
+ <bookname>Hibernate Tools Reference Guide</bookname>
+ </properties>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <
url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <
url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <profiles>
+
+ <!-- mvn compile -->
+ <profile>
+ <id>jbds-release-documentation</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+
+ <format>
+ <formatName>eclipse</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+
+ <format>
+ <formatName>html</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Phtml -->
+ <profile>
+ <id>html</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>html</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Phtml-single -->
+ <profile>
+ <id>html-single</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>html_single</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Ppdf -->
+ <profile>
+ <id>pdf</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</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>${docname}.xml</sourceDocumentName>
+ <sourceDirectory>.</sourceDirectory>
+ <imageResource>
+ <directory>${translation}</directory>
+ <includes>
+ <include>images/*</include>
+ </includes>
+ </imageResource>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <!-- needed for uri-resolvers; can be ommitted if using 'current'
uri scheme -->
+ <!-- could also locate the docbook dependency and inspect its version
-->
+ <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>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+