[hibernate-commits] Hibernate SVN: r11466 - trunk/sandbox/maven-poc/Hibernate3/documentation.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri May 4 00:44:41 EDT 2007


Author: steve.ebersole at jboss.com
Date: 2007-05-04 00:44:41 -0400 (Fri, 04 May 2007)
New Revision: 11466

Modified:
   trunk/sandbox/maven-poc/Hibernate3/documentation/pom.xml
Log:
new directory layout

Modified: trunk/sandbox/maven-poc/Hibernate3/documentation/pom.xml
===================================================================
--- trunk/sandbox/maven-poc/Hibernate3/documentation/pom.xml	2007-05-04 04:44:00 UTC (rev 11465)
+++ trunk/sandbox/maven-poc/Hibernate3/documentation/pom.xml	2007-05-04 04:44:41 UTC (rev 11466)
@@ -16,51 +16,114 @@
     <name>Hibernate Manual</name>
     <description>The Hibernate reference manual</description>
 
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.jboss.maven.plugin</groupId>
+                <artifactId>jboss-docbook-plugin</artifactId>
+                <version>1.0</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
     <build>
         <plugins>
             <plugin>
-                  <groupId>org.jboss.maven.plugin</groupId>
-                  <artifactId>jboss-docbook-plugin</artifactId>
-                  <version>1.0</version>
+                <groupId>org.jboss.maven.plugin</groupId>
+                <artifactId>jboss-docbook-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <xincludeSupported>true</xincludeSupported>
+                    <sourceIncludes>
+                        <include>master.xml</include>
+                    </sourceIncludes>
+                    <formats>
+                        <format>
+                            <formatName>pdf</formatName>
+                            <stylesheet>fopdf.xsl</stylesheet>
+                            <finalNameMap>
+                                <master.xml>hibernate_reference.pdf</master.xml>
+                            </finalNameMap>
+                        </format>
+                        <format>
+                            <formatName>html</formatName>
+                            <stylesheet>html.xsl</stylesheet>
+                            <relativeFormatDirectory>html_single</relativeFormatDirectory>
+                            <finalNameMap>
+                                <master.xml>index.html</master.xml>
+                            </finalNameMap>
+                        </format>
+                        <format>
+                            <formatName>html</formatName>
+                            <chunkedOutput>true</chunkedOutput>
+                            <stylesheet>html_chunk.xsl</stylesheet>
+                            <finalNameMap>
+                                <master.xml>index.html</master.xml>
+                            </finalNameMap>
+                        </format>
+                    </formats>
+                    <entities>
+                        <entity>
+                            <name>release</name>
+                            <value>${version}</value>
+                        </entity>
+                    </entities>
+                    <translations>
+                        <translation>
+                            <language>en</language>
+                        </translation>
+                        <translation>
+                            <language>fr</language>
+                        </translation>
+                    </translations>
+                    <transformerParameters>
+                        <property>
+                            <name>custom.titlepage.img</name>
+                            <value>${basedir}/src/main/docbook/standard/resources/shared/images/hibernate_logo_a.png</value>
+                        </property>
+                    </transformerParameters>
+                </configuration>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.docbook</groupId>
+                        <artifactId>docbook-xml</artifactId>
+                        <version>4.4</version>
+                        <scope>runtime</scope>
+                    </dependency>
+                </dependencies>
+            </plugin>
+        </plugins>
+    </build>
 
-                  <executions>
-                      <execution>
-                          <goals>
-                              <goal>generate</goal>
-                          </goals>
-                          <phase>generate-sources</phase>
-                          <configuration>
-                              <translations><t>en</t></translations>
-                              <source>master.xml</source>
-                              <xincludeSupported>true</xincludeSupported>
-                              <formats>
-                                  <format>
-                                      <type>pdf</type>
-                                      <stylesheet>styles/fopdf.xsl</stylesheet>
-                                      <styleSheetRelativeToTranslation>true</styleSheetRelativeToTranslation>
-                                      <finalName>hibernate_reference.pdf</finalName>
-                                  </format>
-                              </formats>
-                              <entities>
-                                  <entity>
-                                      <name>release</name>
-                                      <value>${version}</value>
-                                  </entity>
-                              </entities>
-                          </configuration>
-                      </execution>
-                  </executions>
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.jboss.maven.plugin</groupId>
+                <artifactId>jboss-docbook-plugin</artifactId>
+                <reportSets>
+                    <reportSet>
+                        <reports>
+                            <report>diff</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
+                <configuration>
+                    <masterTranslation>en</masterTranslation>
+                    <sourceIncludes>
+                        <include>master.xml</include>
+                    </sourceIncludes>
+                    <translations>
+                        <translation>fr</translation>
+                    </translations>
+                </configuration>
+            </plugin>
+        </plugins>
+    </reporting>
 
-                  <dependencies>
-                      <dependency>
-                          <groupId>org.docbook</groupId>
-                          <artifactId>docbook-xml</artifactId>
-                          <version>4.4</version>
-                          <scope>runtime</scope>
-                      </dependency>
-                  </dependencies>
-
-              </plugin>
-          </plugins>
-      </build>
 </project>
\ No newline at end of file




More information about the hibernate-commits mailing list