You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ah...@apache.org on 2005/09/26 08:17:53 UTC
svn commit: r291567 - in /maven/maven-1/plugins/trunk/xdoc:
src/plugin-resources/site.jsl xdocs/properties.xml
Author: aheritier
Date: Sun Sep 25 23:17:44 2005
New Revision: 291567
URL: http://svn.apache.org/viewcvs?rev=291567&view=rev
Log:
By default, pom.currentVersion is used.
Update the doc.
Modified:
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl
maven/maven-1/plugins/trunk/xdoc/xdocs/properties.xml
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl?rev=291567&r1=291566&r2=291567&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl Sun Sep 25 23:17:44 2005
@@ -255,10 +255,10 @@
</div>
<div id="breadcrumbs">
- <j:if test="${!empty(pom.currentVersion)}">
- <maven:property var="version" name="maven.xdoc.version" defaultValue="${pom.currentVersion}"/>
+ <maven:property var="version" name="maven.xdoc.version" defaultValue=""/>
+ <j:if test="${empty(version)}">
+ <j:set var="version" value="${pom.currentVersion}"/>
</j:if>
-
<j:set var="breadcrumbsUsed" value=""/>
<x:if select="$nav/body/breadcrumbs">
<j:set var="breadcrumbsUsed" value="'true'"/>
Modified: maven/maven-1/plugins/trunk/xdoc/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/xdocs/properties.xml?rev=291567&r1=291566&r2=291567&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/xdocs/properties.xml Sun Sep 25 23:17:44 2005
@@ -302,11 +302,11 @@
<td>maven.xdoc.version</td>
<td>Yes</td>
<td>
- The version number to show next to the date. This only works if you also set
- <code>maven.xdoc.date</code> to either <code>left</code> or <code>right</code>.
- A common way to use it is like this:
- <code>maven.xdoc.version=${pom.currentVersion}</code>.
- If <code>maven.xdoc.version</code> is left empty, no version is shown on the site (default).
+ The version number to show next to the date. <b>This only works if you also set
+ <code>maven.xdoc.date</code> to either <code>left</code> or <code>right</code>.</b>
+ By default, <code>maven.xdoc.version</code> isn't setted and the value of
+ <code>pom.currentVersion</code> is displayed.
+ If <code>maven.xdoc.version</code> is setted to empty, no version is shown on the site.
</td>
</tr>
<tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org