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

announcement-mail does not respect templateEncoding

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.10
    • Component/s: announcement
    • Labels:
      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

        Activity

        Hide
        dennisl@apache.org Dennis Lundberg added a comment -

        Fixed in r1578561.

        Show
        dennisl@apache.org Dennis Lundberg added a comment - Fixed in r1578561 .

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development