From 5e5035394b90bca1fc1481ceed76667455b216e5 Mon Sep 17 00:00:00 2001 From: vmassol Date: Mon, 9 Aug 2004 17:30:43 +0000 Subject: [PATCH] Added check to verify that the POM has a version element for the announcement to be generated. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115944 13f79535-47bb-0310-9956-ffa450edef68 --- announcement/plugin.jelly | 16 +++++++++++++++- announcement/xdocs/changes.xml | 4 ++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/announcement/plugin.jelly b/announcement/plugin.jelly index 5e569544..9341cf8a 100644 --- a/announcement/plugin.jelly +++ b/announcement/plugin.jelly @@ -80,7 +80,21 @@ - The release '${versionVariable}' could not be found in change log + The ${versionVariable} release could not be found in the changes.xml file. + + + + + + + + + + + + + Missing "version" element in the POM for release ${versionVariable}. + diff --git a/announcement/xdocs/changes.xml b/announcement/xdocs/changes.xml index 5a8ee740..08c09303 100644 --- a/announcement/xdocs/changes.xml +++ b/announcement/xdocs/changes.xml @@ -25,6 +25,10 @@ + + Added check to verify that the POM has a version element for the + announcement to be generated. + Added new optional maven.announcement.encoding property that defines which charset encoding to use to generate the text announcement