Author: ltheussl
Date: Mon Sep 19 22:16:35 2005
New Revision: 290363

URL: http://svn.apache.org/viewcvs?rev=290363&view=rev
Log:
Fix bad cut&paste

Modified:
    maven/maven-1/plugins/trunk/xdoc/plugin.jelly

Modified: maven/maven-1/plugins/trunk/xdoc/plugin.jelly
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/plugin.jelly?rev=290363&r1=290362&r2=290363&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/xdoc/plugin.jelly Mon Sep 19 22:16:35 2005
@@ -747,7 +747,7 @@
         <!-- Remove SNAPSHOT -->
         <j:choose>
           <j:when 
test="${installedPlugin.currentVersion.endsWith('-SNAPSHOT')}">
-            <j:set var="currentRelease" 
value="${installedPlugin.currentVersion.substring(0,pom.currentVersion.length()-9)}"/>
+            <j:set var="currentRelease" 
value="${installedPlugin.currentVersion.substring(0,installedPlugin.currentVersion.length()-9)}"/>
           </j:when>
           <j:otherwise>
             <j:set var="currentRelease" 
value="${installedPlugin.currentVersion}"/>
@@ -792,7 +792,7 @@
       <!-- Remove SNAPSHOT -->
         <j:choose>
           <j:when 
test="${installedPlugin.currentVersion.endsWith('-SNAPSHOT')}">
-            <j:set var="currentRelease" 
value="${installedPlugin.currentVersion.substring(0,pom.currentVersion.length()-9)}"/>
+            <j:set var="currentRelease" 
value="${installedPlugin.currentVersion.substring(0,installedPlugin.currentVersion.length()-9)}"/>
           </j:when>
           <j:otherwise>
             <j:set var="currentRelease" 
value="${installedPlugin.currentVersion}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to