PR: MPCHANGELOG-74

Changelog plugin creates wrong links for Subversion repositories.
New property maven.changelog.svn.baseurl.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@369865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl
2006-01-17 19:00:24 +00:00
parent 552e0bd1cc
commit 853642fa8b
4 changed files with 17 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
# -------------------------------------------------------------------
maven.changelog.basedir=${basedir}
maven.changelog.svn.baseurl=${pom.repository.url}
maven.changelog.type = range
maven.changelog.range = 30

View File

@@ -109,6 +109,10 @@
</j:choose>
<j:choose>
<j:when test="${pom.repository.connection.startsWith('scm:svn')}">
<a href="${maven.changelog.svn.baseurl}${name}">${name}</a>
<a href="${maven.changelog.svn.baseurl}${name}?rev=${revision}&amp;content-type=text/vnd.viewcvs-markup">v${revision}</a>
</j:when>
<j:when test="${pom.repository.connection.startsWith('scm:perforce')}">
<a href="${repository}${name}?ac=22">${name}</a>
<a href="${repository}${name}?ac=64&amp;rev1=${revision}">v${revision}</a>

View File

@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.9-SNAPSHOT" date="in SVN">
<action dev="ltheussl" type="fix" issue="MPCHANGELOG-74">Changelog plugin creates wrong links for Subversion repositories. New property <code>maven.changelog.svn.baseurl</code>.</action>
<action dev="aheritier" type="update" issue="MAVEN-1712">Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :
<ul>
<li>ant v1.5.3-1 -> v1.6.5</li>

View File

@@ -135,6 +135,17 @@
The date format in input stream. It's only used by Starteam changelog and/or when specifying an absolute date.
</td>
</tr>
<tr>
<td>maven.changelog.svn.baseurl</td>
<td>Yes</td>
<td>
The base address of the svn url. Use it for creating correct links
when the current project is a sub-project in the svn repository.
Only used if <code>repository.connection</code>
starts with <code>scm:svn</code>.
Defaults to <code>${pom.repository.url}</code>.
</td>
</tr>
</table>
</section>
<section name="Other properties">