From 853642fa8bbcf23868bd253844f3fc17903c2cfc Mon Sep 17 00:00:00 2001 From: ltheussl Date: Tue, 17 Jan 2006 19:00:24 +0000 Subject: [PATCH] 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 --- changelog/plugin.properties | 1 + changelog/src/plugin-resources/changelog.jsl | 4 ++++ changelog/xdocs/changes.xml | 1 + changelog/xdocs/properties.xml | 11 +++++++++++ 4 files changed, 17 insertions(+) diff --git a/changelog/plugin.properties b/changelog/plugin.properties index 56ed408e..e554e3e9 100644 --- a/changelog/plugin.properties +++ b/changelog/plugin.properties @@ -21,6 +21,7 @@ # ------------------------------------------------------------------- maven.changelog.basedir=${basedir} +maven.changelog.svn.baseurl=${pom.repository.url} maven.changelog.type = range maven.changelog.range = 30 diff --git a/changelog/src/plugin-resources/changelog.jsl b/changelog/src/plugin-resources/changelog.jsl index 1d227432..71a4135b 100644 --- a/changelog/src/plugin-resources/changelog.jsl +++ b/changelog/src/plugin-resources/changelog.jsl @@ -109,6 +109,10 @@ + + ${name} + v${revision} + ${name} v${revision} diff --git a/changelog/xdocs/changes.xml b/changelog/xdocs/changes.xml index c1271c67..be5a10e1 100644 --- a/changelog/xdocs/changes.xml +++ b/changelog/xdocs/changes.xml @@ -25,6 +25,7 @@ + Changelog plugin creates wrong links for Subversion repositories. New property maven.changelog.svn.baseurl. Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :
  • ant v1.5.3-1 -> v1.6.5
  • diff --git a/changelog/xdocs/properties.xml b/changelog/xdocs/properties.xml index 7f93b014..70ae71f5 100644 --- a/changelog/xdocs/properties.xml +++ b/changelog/xdocs/properties.xml @@ -135,6 +135,17 @@ The date format in input stream. It's only used by Starteam changelog and/or when specifying an absolute date. + + maven.changelog.svn.baseurl + Yes + + 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 repository.connection + starts with scm:svn. + Defaults to ${pom.repository.url}. + +