[hibernate-commits] Hibernate SVN: r17472 - validator/trunk/hibernate-validator.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Sep 3 07:58:51 EDT 2009


Author: hardy.ferentschik
Date: 2009-09-03 07:58:50 -0400 (Thu, 03 Sep 2009)
New Revision: 17472

Modified:
   validator/trunk/hibernate-validator/pom.xml
Log:
HV-220 Changed the jdocbook plugin version to the latet version to get new Hibernate styles

Modified: validator/trunk/hibernate-validator/pom.xml
===================================================================
--- validator/trunk/hibernate-validator/pom.xml	2009-09-02 19:30:35 UTC (rev 17471)
+++ validator/trunk/hibernate-validator/pom.xml	2009-09-03 11:58:50 UTC (rev 17472)
@@ -164,19 +164,19 @@
             <plugin>
                 <groupId>org.jboss.maven.plugins</groupId>
                 <artifactId>maven-jdocbook-plugin</artifactId>
-                <version>2.1.0</version>
+                <version>2.2.0</version>
                 <extensions>true</extensions>
                 <dependencies>
                     <dependency>
                         <groupId>org.hibernate</groupId>
                         <artifactId>hibernate-jdocbook-style</artifactId>
-                        <version>1.0.2</version>
+                        <version>2.0.0</version>
                         <type>jdocbook-style</type>
                     </dependency>
                 </dependencies>
                 <configuration>
                     <sourceDocumentName>master.xml</sourceDocumentName>
-                    <sourceDirectory>${basedir}/src/main/docbook/en-US</sourceDirectory>
+                    <sourceDirectory>${basedir}/src/main/docbook</sourceDirectory>
                     <masterTranslation>en-US</masterTranslation>
                     <imageResource>
                         <directory>${basedir}/src/main/docbook/en-US/images</directory>
@@ -184,24 +184,27 @@
                     <formats>
                         <format>
                             <formatName>pdf</formatName>
-                            <stylesheetResource>classpath:/xslt/hibernate/pdf/main-pdf.xsl</stylesheetResource>
-                            <finalName>hibernate-validator-guide.pdf</finalName>
+                            <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/pdf.xsl</stylesheetResource>
+                            <finalName>hibernate_reference.pdf</finalName>
                         </format>
                         <format>
                             <formatName>html_single</formatName>
-                            <stylesheetResource>classpath:/xslt/hibernate/html/main-single.xsl</stylesheetResource>
+                            <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl</stylesheetResource>
                             <finalName>index.html</finalName>
                         </format>
                         <format>
                             <formatName>html</formatName>
-                            <stylesheetResource>classpath:/xslt/hibernate/html/main-chunk.xsl</stylesheetResource>
+                            <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl</stylesheetResource>
                             <finalName>index.html</finalName>
                         </format>
                     </formats>
                     <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>
                         <localeSeparator>-</localeSeparator>
-                        <useRelativeImageUris>true</useRelativeImageUris>
                     </options>
                 </configuration>
                 <executions>
@@ -216,6 +219,11 @@
                 </executions>
             </plugin>
             <plugin>
+                <groupId>org.jboss.maven.plugins</groupId>
+                <artifactId>maven-jdocbook-style-plugin</artifactId>
+                <version>2.0.0</version>
+            </plugin>
+            <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <configuration>
                     <descriptors>



More information about the hibernate-commits mailing list