PR: MPCHANGELOG-82

Ability to remove links to source/revision in changelog report.
Links are only constructed if repository.url is present.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@386405 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-03-16 17:53:38 +00:00
parent 4f845d19da
commit c35a834da3
2 changed files with 10 additions and 2 deletions

View File

@ -126,8 +126,15 @@
<a href="${repository}?cmd=viewBrowseVersion${module}&amp;file=${name}&amp;version=${revision}">v${revision}</a>
</j:when>
<j:otherwise>
<a href="${repository}${name}${oneRepoParam}">${name}</a>
<a href="${repository}${name}?rev=${revision}&amp;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}&amp;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>

View File

@ -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>