You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thomas Scheffler (JIRA)" <ji...@codehaus.org> on 2014/01/14 21:10:49 UTC

[jira] (MCHANGES-326) announcement-mail does not respect templateEncoding

Thomas Scheffler created MCHANGES-326:
-----------------------------------------

             Summary: announcement-mail does not respect templateEncoding
                 Key: MCHANGES-326
                 URL: https://jira.codehaus.org/browse/MCHANGES-326
             Project: Maven Changes Plugin
          Issue Type: Bug
          Components: announcement
    Affects Versions: 2.9
            Reporter: Thomas Scheffler


While announcement-generate goal uses templateEncoding with defaults to ${project.build.sourceEncoding}, announcement-mail uses the system default encoding. This results in scrambled mails.

Currently FileReader is used to read the announcement which does not allow to specify a encoding. InputStreamReader should be used instead in org.apache.maven.plugin.announcement.AnnouncementMailMojo.readAnnouncement()

kind regards

Thomas

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira