From 04b8919f58dcc8e177509fe47420e47f110ab722 Mon Sep 17 00:00:00 2001 From: vmassol Date: Sat, 7 Aug 2004 16:00:27 +0000 Subject: [PATCH] Added new optional maven.announcement.encoding property that defines which charset encoding to use to generate the text announcement (defaults to UTF-8). git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115935 13f79535-47bb-0310-9956-ffa450edef68 --- announcement/plugin.jelly | 5 +++-- announcement/plugin.properties | 3 +++ announcement/xdocs/changes.xml | 5 +++++ announcement/xdocs/properties.xml | 10 ++++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/announcement/plugin.jelly b/announcement/plugin.jelly index 58911f2e..5e569544 100644 --- a/announcement/plugin.jelly +++ b/announcement/plugin.jelly @@ -127,10 +127,11 @@ - Using stylesheet located at ${stylesheetURI} - + Using stylesheet located at ${stylesheetURI} and ${maven.announcement.encoding} encoding + diff --git a/announcement/plugin.properties b/announcement/plugin.properties index e1d8aefb..4814bffa 100644 --- a/announcement/plugin.properties +++ b/announcement/plugin.properties @@ -34,6 +34,9 @@ # Stylesheet to use to generate the text announcement maven.announcement.stylesheet.path = ${plugin.resources}/announcement.jsl +# Encoding to be used to generate the file +maven.announcement.encoding = UTF-8 + # IP address or name of the SMTP server used to send an announcement email # maven.announcement.mail.server = diff --git a/announcement/xdocs/changes.xml b/announcement/xdocs/changes.xml index 16d20ef8..5a8ee740 100644 --- a/announcement/xdocs/changes.xml +++ b/announcement/xdocs/changes.xml @@ -25,6 +25,11 @@ + + Added new optional maven.announcement.encoding property + that defines which charset encoding to use to generate the text announcement + (defaults to UTF-8). + Added new announcement:mail goal to automatically send the generated announcement by email. diff --git a/announcement/xdocs/properties.xml b/announcement/xdocs/properties.xml index 9edce1cf..220a08a3 100644 --- a/announcement/xdocs/properties.xml +++ b/announcement/xdocs/properties.xml @@ -119,6 +119,16 @@ none + + maven.announcement.encoding + Yes + + Encoding used to generate the announcement file. + + + UTF-8 + +