You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/03/16 18:53:51 UTC
svn commit: r386405 - in /maven/maven-1/plugins/trunk/changelog:
src/plugin-resources/changelog.jsl xdocs/changes.xml
Author: ltheussl
Date: Thu Mar 16 09:53:38 2006
New Revision: 386405
URL: http://svn.apache.org/viewcvs?rev=386405&view=rev
Log:
PR: MPCHANGELOG-82
Ability to remove links to source/revision in changelog report.
Links are only constructed if repository.url is present.
Modified:
maven/maven-1/plugins/trunk/changelog/src/plugin-resources/changelog.jsl
maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml
Modified: maven/maven-1/plugins/trunk/changelog/src/plugin-resources/changelog.jsl
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/changelog/src/plugin-resources/changelog.jsl?rev=386405&r1=386404&r2=386405&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/changelog/src/plugin-resources/changelog.jsl (original)
+++ maven/maven-1/plugins/trunk/changelog/src/plugin-resources/changelog.jsl Thu Mar 16 09:53:38 2006
@@ -126,8 +126,15 @@
<a href="${repository}?cmd=viewBrowseVersion${module}&file=${name}&version=${revision}">v${revision}</a>
</j:when>
<j:otherwise>
- <a href="${repository}${name}${oneRepoParam}">${name}</a>
- <a href="${repository}${name}?rev=${revision}&content-type=text/vnd.viewcvs-markup${multiRepoParam}">v${revision}</a>
+ <j:choose>
+ <j:when test="${!empty(repositoryUrl)}">
+ <a href="${repository}${name}${oneRepoParam}">${name}</a>
+ <a href="${repository}${name}?rev=${revision}&content-type=text/vnd.viewcvs-markup${multiRepoParam}">v${revision}</a>
+ </j:when>
+ <j:otherwise>
+ ${name} v${revision}
+ </j:otherwise>
+ </j:choose>
</j:otherwise>
</j:choose>
Modified: maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml?rev=386405&r1=386404&r2=386405&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/changelog/xdocs/changes.xml Thu Mar 16 09:53:38 2006
@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.9.1-SNAPSHOT" date="in SVN">
+ <action dev="ltheussl" type="fix" issue="MPCHANGELOG-82">Don't construct links to files if <code>repository.url</code> is absent.</action>
<action dev="ltheussl" type="fix" issue="MPCHANGELOG-83">NullPointerException if developer's id is missing.</action>
<action dev="ltheussl" type="fix" issue="MPCHANGELOG-75">Replace netbeans's cvslib-3.6 by cvsclient-20051129.</action>
</release>