[hornetq-commits] JBoss hornetq SVN: r10261 - in branches/Branch_2_2_EAP/docs: design-guide and 3 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Feb 28 11:20:36 EST 2011


Author: ataylor
Date: 2011-02-28 11:20:36 -0500 (Mon, 28 Feb 2011)
New Revision: 10261

Added:
   branches/Branch_2_2_EAP/docs/design-guide/
   branches/Branch_2_2_EAP/docs/design-guide/build.bat
   branches/Branch_2_2_EAP/docs/design-guide/build.sh
   branches/Branch_2_2_EAP/docs/design-guide/build.xml
   branches/Branch_2_2_EAP/docs/design-guide/en/
   branches/Branch_2_2_EAP/docs/design-guide/en/Author_Group.xml
   branches/Branch_2_2_EAP/docs/design-guide/en/Book_Info.xml
   branches/Branch_2_2_EAP/docs/design-guide/en/HornetQ_Design_Guide.ent
   branches/Branch_2_2_EAP/docs/design-guide/en/HornetQ_Design_Guide.xml
   branches/Branch_2_2_EAP/docs/design-guide/en/about.xml
   branches/Branch_2_2_EAP/docs/design-guide/en/clustering.xml
   branches/Branch_2_2_EAP/docs/design-guide/en/diagrams/
   branches/Branch_2_2_EAP/docs/design-guide/en/diagrams/design-docs.odg
   branches/Branch_2_2_EAP/docs/design-guide/en/images/
   branches/Branch_2_2_EAP/docs/design-guide/en/images/hornetQ_logo_600px.png
   branches/Branch_2_2_EAP/docs/design-guide/en/images/topology-update.jpg
   branches/Branch_2_2_EAP/docs/design-guide/en/notice.xml
   branches/Branch_2_2_EAP/docs/design-guide/pom.xml
Log:
added design doc starter for 10

Copied: branches/Branch_2_2_EAP/docs/design-guide/build.bat (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/build.bat)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/build.bat	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/build.bat	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,13 @@
+ at echo off
+
+set "OVERRIDE_ANT_HOME=..\..\tools\ant"
+
+if exist "..\..\src\bin\build.bat" (
+   rem running from TRUNK
+   call ..\..\src\bin\build.bat %*
+) else (
+   rem running from the distro
+   call ..\..\bin\build.bat %*
+)
+
+set "OVERRIDE_ANT_HOME="

Copied: branches/Branch_2_2_EAP/docs/design-guide/build.sh (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/build.sh)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/build.sh	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/build.sh	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+OVERRIDE_ANT_HOME=../../tools/ant
+export OVERRIDE_ANT_HOME
+
+if [ -f "../../src/bin/build.sh" ]; then
+   # running from TRUNK
+   ../../src/bin/build.sh "$@"
+else
+   # running from the distro
+   ../../bin/build.sh "$@"
+fi
+
+
+

Copied: branches/Branch_2_2_EAP/docs/design-guide/build.xml (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/build.xml)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/build.xml	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/build.xml	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,27 @@
+<project name="HornetQ Design Guide" default="all" basedir=".">
+
+
+  <target name="maven-init">
+    <property name="maven.home" location="${basedir}/../../tools/maven"/>
+    <echo message="Maven Home set to ${maven.home}"/>
+  </target>
+
+   <target name="clean" depends="maven-init">
+      <condition property="mvn.cmd" value="mvn.bat" else="mvn">
+         <os family="windows"/>
+      </condition>
+      <exec executable="${mvn.cmd}">
+        <arg line="clean"/>
+      </exec>
+   </target>
+
+   <target name="all" depends="maven-init">
+      <condition property="mvn.cmd" value="mvn.bat" else="mvn">
+         <os family="windows"/>
+      </condition>
+      <exec executable="${mvn.cmd}">
+        <arg line="install"/>
+      </exec>
+   </target>
+
+</project>

Copied: branches/Branch_2_2_EAP/docs/design-guide/en/Author_Group.xml (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/en/Author_Group.xml)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/en/Author_Group.xml	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/en/Author_Group.xml	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,30 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+  ~ Copyright 2009 Red Hat, Inc.
+  ~  Red Hat licenses this file to you under the Apache License, version
+  ~  2.0 (the "License"); you may not use this file except in compliance
+  ~  with the License.  You may obtain a copy of the License at
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+  ~  implied.  See the License for the specific language governing
+  ~  permissions and limitations under the License.
+  -->
+
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<authorgroup>
+  <author>
+    <firstname>Andy</firstname>
+    <surname>Taylor</surname>
+    <affiliation>
+      <shortaffil>Red Hat, Inc.</shortaffil>
+      <jobtitle>Core Developer</jobtitle>
+      <orgdiv>JBoss</orgdiv>
+    </affiliation>
+    <email>ataylor at redhat.com</email>
+  </author>
+</authorgroup>

Copied: branches/Branch_2_2_EAP/docs/design-guide/en/Book_Info.xml (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/en/Book_Info.xml)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/en/Book_Info.xml	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/en/Book_Info.xml	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,44 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+  ~ Copyright 2009 Red Hat, Inc.
+  ~  Red Hat licenses this file to you under the Apache License, version
+  ~  2.0 (the "License"); you may not use this file except in compliance
+  ~  with the License.  You may obtain a copy of the License at
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+  ~  implied.  See the License for the specific language governing
+  ~  permissions and limitations under the License.
+  -->
+
+<!-- This document was created with Syntext Serna Free. --><!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<bookinfo id="HornetQ_QuickStart_Guide">
+  <title>HornetQ Design Guide</title>
+  <subtitle>Putting the buzz in messaging</subtitle>
+  <productname>HornetQ</productname>
+  <edition>2.1.0</edition>
+  <pubsnumber>1</pubsnumber>
+  <abstract>
+    <para>This Design guide is to help current and future developers how HornetQ's architectures are designed to
+    help the future development and maintenance of the project</para>
+  </abstract>
+  <corpauthor>
+    <inlinemediaobject>
+      <imageobject>
+        <imagedata fileref="images/hornetQ_logo_600px.png" format="PNG"/>
+      </imageobject>
+      <textobject>
+        <phrase>HornetQ Logo</phrase>
+      </textobject>
+    </inlinemediaobject>
+  </corpauthor>
+  <copyright>
+    <year>&YEAR;</year>
+    <holder>&HOLDER;</holder>
+  </copyright>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Author_Group.xml"/>
+</bookinfo>

Added: branches/Branch_2_2_EAP/docs/design-guide/en/HornetQ_Design_Guide.ent
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/en/HornetQ_Design_Guide.ent	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/en/HornetQ_Design_Guide.ent	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,5 @@
+<!ENTITY PRODUCT "HornetQ">
+<!ENTITY BOOKID "HornetQ_Design_Guide">
+<!ENTITY YEAR "2011">
+<!ENTITY HOLDER "Red Hat Inc.">
+<!ENTITY semi ";">

Copied: branches/Branch_2_2_EAP/docs/design-guide/en/HornetQ_Design_Guide.xml (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/en/HornetQ_QuickStart_Guide.xml)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/en/HornetQ_Design_Guide.xml	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/en/HornetQ_Design_Guide.xml	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<!--
+  ~ Copyright 2009 Red Hat, Inc.
+  ~  Red Hat licenses this file to you under the Apache License, version
+  ~  2.0 (the "License"); you may not use this file except in compliance
+  ~  with the License.  You may obtain a copy of the License at
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+  ~  implied.  See the License for the specific language governing
+  ~  permissions and limitations under the License.
+  -->
+
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
+%BOOK_ENTITIES;
+
+]>
+<book>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Book_Info.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="notice.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="about.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clustering.xml"/>
+</book>

Copied: branches/Branch_2_2_EAP/docs/design-guide/en/about.xml (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/en/about.xml)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/en/about.xml	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/en/about.xml	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Copyright 2009 Red Hat, Inc.
+  ~  Red Hat licenses this file to you under the Apache License, version
+  ~  2.0 (the "License"); you may not use this file except in compliance
+  ~  with the License.  You may obtain a copy of the License at
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+  ~  implied.  See the License for the specific language governing
+  ~  permissions and limitations under the License.
+  -->
+
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
+%BOOK_ENTITIES;
+]>
+
+<chapter id="about">
+   <title>About HornetQ</title>
+    <para>What is HornetQ?</para>
+</chapter>
\ No newline at end of file

Added: branches/Branch_2_2_EAP/docs/design-guide/en/clustering.xml
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/en/clustering.xml	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/en/clustering.xml	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ============================================================================= -->
+<!-- Copyright © 2009 Red Hat, Inc. and others.                                    -->
+<!--                                                                               -->
+<!-- The text of and illustrations in this document are licensed by Red Hat under  -->
+<!-- a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). -->
+<!--                                                                               -->
+<!-- An explanation of CC-BY-SA is available at                                    -->
+<!--                                                                               -->
+<!--            http://creativecommons.org/licenses/by-sa/3.0/.                    -->
+<!--                                                                               -->
+<!-- In accordance with CC-BY-SA, if you distribute this document or an adaptation -->
+<!-- of it, you must provide the URL for the original version.                     -->
+<!--                                                                               -->
+<!-- Red Hat, as the licensor of this document, waives the right to enforce,       -->
+<!-- and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent        -->
+<!-- permitted by applicable law.                                                  -->
+<!-- ============================================================================= -->
+
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="introduction">
+    <title>Getting Started</title>
+    <para>This chapter discusses the architecture behind clustering</para>
+    <section>
+       <title>Discovery</title>
+       <para>Discovery is done in 2 steps, initial discovery where the server locates another node in the cluster and 
+       topology discovery where the node finds out about all other nodes in the cluster</para>
+       <section>
+          <title>Initial Discovery</title>
+          <para>blah blah blah, UDP, static connectors etc etc</para>
+       </section>
+       <section>
+          <title>Topology Discovery</title>
+          <para>blah blah blah, topology etc</para>
+         <para>
+            <graphic fileref="images/topology-update.jpg" align="center" format="JPEG" scale="30"/>
+         </para>
+       </section>
+    </section>
+</chapter>

Added: branches/Branch_2_2_EAP/docs/design-guide/en/diagrams/design-docs.odg
===================================================================
(Binary files differ)


Property changes on: branches/Branch_2_2_EAP/docs/design-guide/en/diagrams/design-docs.odg
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Copied: branches/Branch_2_2_EAP/docs/design-guide/en/images/hornetQ_logo_600px.png (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/en/images/hornetQ_logo_600px.png)
===================================================================
(Binary files differ)

Added: branches/Branch_2_2_EAP/docs/design-guide/en/images/topology-update.jpg
===================================================================
(Binary files differ)


Property changes on: branches/Branch_2_2_EAP/docs/design-guide/en/images/topology-update.jpg
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Copied: branches/Branch_2_2_EAP/docs/design-guide/en/notice.xml (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/en/notice.xml)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/en/notice.xml	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/en/notice.xml	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,32 @@
+<!--
+  ~ Copyright 2009 Red Hat, Inc.
+  ~  Red Hat licenses this file to you under the Apache License, version
+  ~  2.0 (the "License"); you may not use this file except in compliance
+  ~  with the License.  You may obtain a copy of the License at
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+  ~  implied.  See the License for the specific language governing
+  ~  permissions and limitations under the License.
+  -->
+
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
+%BOOK_ENTITIES;
+]>
+
+<chapter id="notice">
+    <title>Legal Notice</title>
+
+        <para>Copyright © 2010 Red Hat, Inc. and others.</para>
+        <para>The text of and illustrations in this document are licensed by Red Hat under
+            a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA").</para>
+        <para>An explanation of CC-BY-SA is available at 
+            <ulink url="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</ulink>. 
+            In accordance with CC-BY-SA, if you distribute this document or an adaptation
+            of it, you must provide the URL for the original version.</para>
+        <para>Red Hat, as the licensor of this document, waives the right to enforce, 
+            and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent 
+            permitted by applicable law.</para>
+</chapter>
\ No newline at end of file

Copied: branches/Branch_2_2_EAP/docs/design-guide/pom.xml (from rev 10259, branches/Branch_2_2_EAP/docs/quickstart-guide/pom.xml)
===================================================================
--- branches/Branch_2_2_EAP/docs/design-guide/pom.xml	                        (rev 0)
+++ branches/Branch_2_2_EAP/docs/design-guide/pom.xml	2011-02-28 16:20:36 UTC (rev 10261)
@@ -0,0 +1,306 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ Copyright 2009 Red Hat, Inc.
+  ~  Red Hat licenses this file to you under the Apache License, version
+  ~  2.0 (the "License"); you may not use this file except in compliance
+  ~  with the License.  You may obtain a copy of the License at
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+  ~  implied.  See the License for the specific language governing
+  ~  permissions and limitations under the License.
+  -->
+
+<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</translation>
+    <docname>HornetQ_Design_Guide</docname>
+    <bookname>HornetQ Design Guide</bookname>
+  </properties> 
+
+  <repositories>
+      <repository>
+          <id>jboss-public-repository-group</id>
+          <name>JBoss Public Maven Repository Group</name>
+          <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+          <layout>default</layout>
+          <releases>
+            <enabled>true</enabled>
+            <updatePolicy>never</updatePolicy>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+            <updatePolicy>never</updatePolicy>
+          </snapshots>
+      </repository>
+  </repositories>
+  <pluginRepositories>
+    <pluginRepository>
+          <id>jboss-public-repository-group</id>
+          <name>JBoss Public Maven Repository Group</name>
+          <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+          <layout>default</layout>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+    </pluginRepository>
+    <!--pluginRepository>
+          <id>jboss-snapshot-repository-group</id>
+          <name>JBoss Snapshot Maven Repository Group</name>
+          <url>https://repository.jboss.org/nexus/content/groups/snapshot/</url>
+          <layout>default</layout>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+    </pluginRepository-->
+ </pluginRepositories>
+  
+  <profiles>
+
+    <!-- mvn compile -->
+    <profile>
+      <id>all</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <build>
+    		<plugins>
+    			<plugin>
+    				<groupId>org.jboss.maven.plugins</groupId>
+    				<artifactId>maven-jdocbook-plugin</artifactId>
+    				<version>2.2.1</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>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.1</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.1</version>
+    				<extensions>true</extensions>
+  				</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.1.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>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+		           <groupId>org.jboss.maven.plugins</groupId>
+		           <artifactId>maven-jdocbook-plugin</artifactId>
+		           <version>2.2.1</version>
+		           <extensions>true</extensions>
+		           <dependencies>
+		              <dependency>
+		                 <groupId>org.jboss.pressgang</groupId>
+		                 <artifactId>pressgang-xslt</artifactId>
+		                 <version>1.2.0</version>
+		              </dependency>
+		              <dependency>
+		                 <groupId>org.jboss</groupId>
+		                 <artifactId>jbossorg-jdocbook-style</artifactId>
+		                 <version>1.1.1</version>
+		                 <type>jdocbook-style</type>
+		              </dependency>
+		           </dependencies>
+		           <configuration>
+		              <sourceDirectory>${project.basedir}</sourceDirectory>
+		              <sourceDocumentName>${docname}.xml</sourceDocumentName>
+		              <masterTranslation>en</masterTranslation>
+		              <imageResource>
+		                 <directory>${project.basedir}/en</directory>
+		                 <includes>
+		                    <include>images/*.png</include>
+		                    <include>images/*.jpg</include>
+		                 </includes>
+		              </imageResource>
+		              <formats>
+		                 <format>
+		                    <formatName>pdf</formatName>
+		                    <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+		                    <finalName>${pdf.name}</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>
+		              <options>
+						<xincludeSupported>true</xincludeSupported>
+						<xmlTransformerType>saxon</xmlTransformerType>
+						<docbookVersion>1.72.0</docbookVersion>
+						<localeSeparator>-</localeSeparator>
+						<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>
+        </pluginManagement>
+    </build>
+	<!--<build>
+		<plugins>
+			<plugin>
+				<groupId>org.jboss.maven.plugins</groupId>
+				<artifactId>maven-jdocbook-plugin</artifactId>
+				<version>2.2.1</version>
+				<extensions>true</extensions>
+				<dependencies>
+					<dependency>
+                  <groupId>org.jboss.pressgang</groupId>
+                  <artifactId>pressgang-xslt</artifactId>
+                  <version>1.2.0</version>
+               </dependency>
+					<dependency>
+						<groupId>org.jboss</groupId>
+						<artifactId>jbossorg-jdocbook-style</artifactId>
+						<version>1.1.1</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>
+    				<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>



More information about the hornetq-commits mailing list