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

New parameter releaseDateLocale in changes-check goal

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.10
    • Component/s: changes.xml
    • Labels:
      None
    • Environment:
    • Flags:
      Patch

      Description

      I have defined parameter

      releaseDateFormat=E MMM dd yyyy

      and release dates are defined with English locale in changes.xml.
      If I run maven with other locale settings, then changes-check goal failed that release date has wrong format.
      Workaround for this behaivour is, defines english locale in

      MAVEN_OPTS=-Duser.language=en -Duser.region=US

      , but better is define locale in configuration.

      <configuration>
        <releaseDateLocale>en_US</releaseDateLocale>
      </configuration>

        Attachments

          Activity

            People

            • Assignee:
              dennisl@apache.org Dennis Lundberg
              Reporter:
              petrprochy Petr Procházka
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: