Added new optional <code>maven.announcement.encoding</code> 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
This commit is contained in:
1 parent
b736ddc415
commit
04b8919f58
4 files changed
+21
-2
No files matched your search
@@ -127,10 +127,11 @@
|
||||
|
||||
<j:set var="stylesheetURI" value="file:${maven.announcement.stylesheet.path}"/>
|
||||
|
||||
<echo>Using stylesheet located at ${stylesheetURI}</echo>
|
||||
|
||||
<echo>Using stylesheet located at ${stylesheetURI} and ${maven.announcement.encoding} encoding</echo>
|
||||
|
||||
<j:file
|
||||
name="${file}"
|
||||
encoding="${maven.announcement.encoding}"
|
||||
outputMode="xml"
|
||||
omitXmlDeclaration="true"
|
||||
prettyPrint="false">
|
||||
|
||||
@@ -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 =
|
||||
|
||||
|
||||
@@ -25,6 +25,11 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.3-SNAPSHOT" date="in CVS">
|
||||
<action dev="vmassol" type="add" issue="MPANNOUNCEMENT-13" due-to="Felipe Leme">
|
||||
Added new optional <code>maven.announcement.encoding</code> property
|
||||
that defines which charset encoding to use to generate the text announcement
|
||||
(defaults to UTF-8).
|
||||
</action>
|
||||
<action dev="vmassol" type="add" issue="MPANNOUNCEMENT-9" due-to="Felipe Leme">
|
||||
Added new <code>announcement:mail</code> goal to automatically
|
||||
send the generated announcement by email.
|
||||
|
||||
@@ -119,6 +119,16 @@
|
||||
<td>none
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.announcement.encoding</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Encoding used to generate the announcement file.
|
||||
</td>
|
||||
<td>
|
||||
<code>UTF-8</code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user