Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-326

announcement-mail does not respect templateEncoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.10
    • announcement
    • None

    Description

      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

      Attachments

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            yagee Thomas Scheffler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: