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

Create a changes check mojo

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.4
    • announcement
    • None
    • Patch

    Description

      I meant to submit this for inclusion in changes 2.1, but I guess I just missed it (2.1.1maybe?).

      We use the attached goal as part of release:prepare to ensure that the changes.xml has correct content before a release is done (changes:announcement-generate) is executed during release:perform.

      It really does two things:
      1) Ensures that the current version is represented in the changes.xml file (no special logic to do this, it's just in AnnouncementMjojo.getLatestRelease()).
      2) Ensures that the current version's release date isn't "TBD" or "tbd". This could be easily changed to be "in SVN" through configuration. If you want to make this the default and I'll add config to our organizational pom to use "tbd", fine with me.

      Since using this goal, we've eliminated a cause of release failures, so that's something...

      Attachments

        1. AnnouncementCheckMojo.java
          1 kB
          Justin Edelson

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              justinedelson Justin Edelson
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: