You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2006/02/23 00:14:30 UTC
svn commit: r379968 - in /maven/maven-1/plugins/trunk/pdf: plugin.jelly
xdocs/changes.xml xdocs/index.xml
Author: aheritier
Date: Wed Feb 22 15:14:30 2006
New Revision: 379968
URL: http://svn.apache.org/viewcvs?rev=379968&view=rev
Log:
The links generated in the reports list are wrong. Works only with the xdoc plugin 1.10 and above.
Modified:
maven/maven-1/plugins/trunk/pdf/plugin.jelly
maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml
maven/maven-1/plugins/trunk/pdf/xdocs/index.xml
Modified: maven/maven-1/plugins/trunk/pdf/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/plugin.jelly?rev=379968&r1=379967&r2=379968&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pdf/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/pdf/plugin.jelly Wed Feb 22 15:14:30 2006
@@ -24,8 +24,9 @@
xmlns:doc="doc"
xmlns:plugin="plugin">
- <goal name="maven-pdf-plugin:register" description="Register the pdf generation during site goal.">
- <doc:registerReport name="PDF" pluginName="maven-pdf-plugin" target="_blank" description="Documentation in PDF format."/>
+ <goal name="maven-pdf-plugin:register" description="Register the pdf generation during site goal." prereqs="pdf:init">
+ <!-- We register it but we need to specify the extension -->
+ <doc:registerReport name="PDF" pluginName="maven-pdf-plugin" target="_blank" description="Documentation in PDF format." link="${maven.pdf.pdfName.substring(0,maven.pdf.pdfName.length()-4)}" fileSuffix=".pdf"/>
</goal>
<goal name="maven-pdf-plugin:deregister" description="Deregister the pdf generation.">
<doc:deregisterReport name="PDF"/>
Modified: maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml?rev=379968&r1=379967&r2=379968&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml Wed Feb 22 15:14:30 2006
@@ -25,6 +25,7 @@
</properties>
<body>
<release version="2.5-SNAPSHOT" date="in SVN">
+ <action dev="aheritier" type="fix">The links generated in the reports list are wrong. Works only with the xdoc plugin 1.10 and above.</action>
<action dev="ltheussl" type="add" due-to="Greg Ludington">New property <code>maven.pdf.createBookmarks</code> to create PDF bookmarks.</action>
<action dev="ltheussl" type="fix" issue="MPPDF-53">Title and dates are incorrect when used with Maven 1.0.2.</action>
<action dev="ltheussl" type="fix" issue="MPPDF-54">Identical ids in tables in different documents caused a build failure.</action>
Modified: maven/maven-1/plugins/trunk/pdf/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/xdocs/index.xml?rev=379968&r1=379967&r2=379968&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pdf/xdocs/index.xml (original)
+++ maven/maven-1/plugins/trunk/pdf/xdocs/index.xml Wed Feb 22 15:14:30 2006
@@ -38,6 +38,7 @@
<report>maven-pdf-plugin</report>
<reports>
]]></source>
+ <p><i>The links to the pdf file in the reports page and in the reports menu are correct only if the xdoc plugin 1.10 or above is used.</i></p>
<p>Take a look at <a href="goals.html">goals</a>, <a href="properties.html">properties</a> and the <a href="faq.html">FAQ</a> to see how to customize it.</p>
</section>
<section name="Known issues">