From 438cb1564d8586157374aab14ade001e06fe1cdb Mon Sep 17 00:00:00 2001 From: vmassol Date: Sat, 1 May 2004 17:59:08 +0000 Subject: [PATCH] The maven.announcement.version property does no longer needs to be defined. It defaults to ${pom.currentVersion} if not defined. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115150 13f79535-47bb-0310-9956-ffa450edef68 --- announcement/plugin.jelly | 4 ---- announcement/plugin.properties | 11 +++++++---- announcement/xdocs/changes.xml | 7 ++++++- announcement/xdocs/properties.xml | 2 +- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/announcement/plugin.jelly b/announcement/plugin.jelly index 60ca4f11..f72e735e 100644 --- a/announcement/plugin.jelly +++ b/announcement/plugin.jelly @@ -34,10 +34,6 @@ - - The 'maven.announcement.version' property needs to be defined. - - Generating announcement for release ${maven.announcement.version} in ${maven.announcement.file}... diff --git a/announcement/plugin.properties b/announcement/plugin.properties index e64ac796..7212c569 100644 --- a/announcement/plugin.properties +++ b/announcement/plugin.properties @@ -18,7 +18,10 @@ # Properties for the Announcement plugin # ------------------------------------------------------------------- -# Version for which to create a release note. This property needs to -# be defined in your project. For example: -maven.announcement.version = ${pom.version} -maven.announcement.file=${maven.build.dir}/announcement.txt \ No newline at end of file +# Version for which to create a release note. If not defined, it +# defaults to ${pom.currentVersion}. +# For example: +# maven.announcement.version = ${pom.version} + +# Name and location of generated announcement file +maven.announcement.file=${maven.build.dir}/announcement.txt diff --git a/announcement/xdocs/changes.xml b/announcement/xdocs/changes.xml index 949635aa..6d468fd1 100644 --- a/announcement/xdocs/changes.xml +++ b/announcement/xdocs/changes.xml @@ -24,7 +24,12 @@ Vincent Massol - + + + The maven.announcement.version property does no longer + needs to be defined. It defaults to ${pom.currentVersion} + if not defined. + Improved web site documentation. diff --git a/announcement/xdocs/properties.xml b/announcement/xdocs/properties.xml index 325a1d5b..1ca502af 100644 --- a/announcement/xdocs/properties.xml +++ b/announcement/xdocs/properties.xml @@ -35,7 +35,7 @@ Version for which to create a release note. - ${pom.version} + ${pom.currentVersion}