Maven Changes Plugin
  1. Maven Changes Plugin
  2. MCHANGES-326

announcement-mail does not respect templateEncoding

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.10
    • Component/s: announcement
    • Labels:
      None
    • Number of attachments :
      0

      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

        Activity

        Hide
        Dennis Lundberg added a comment -

        Fixed in r1578561.

        Show
        Dennis Lundberg added a comment - Fixed in r1578561 .

          People

          • Assignee:
            Dennis Lundberg
            Reporter:
            Thomas Scheffler
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: