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

Support creating a plain text version of the report

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: announcement
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Useful when the change log is to be included in a native package or in a WAR as documentation.

        Activity

        Hide
        Dennis Lundberg added a comment -

        You can probably use the announcement:generate goal for this.

        Show
        Dennis Lundberg added a comment - You can probably use the announcement:generate goal for this.
        Hide
        SebbASF added a comment -

        You can also create your own velocity template if you want to change the layout or content, but the default announcement.vm file produced by "mvn changes:announcement-generate" is pretty good as is.

        What you cannot change currently is the output file name (same as template name) or directory (target/announcement).

        Just rename the file and move it somewhere suitable.

        Show
        SebbASF added a comment - You can also create your own velocity template if you want to change the layout or content, but the default announcement.vm file produced by "mvn changes:announcement-generate" is pretty good as is. What you cannot change currently is the output file name (same as template name) or directory (target/announcement). Just rename the file and move it somewhere suitable.
        Hide
        Tuomas Kiviaho added a comment -

        Or use antrun to copy it to suitable location.

        <tasks>
        <copy file="$

        {project.build.directory}

        /target/announcement.vm" tofile="$

        {project.basedir}

        /appassembler/CHANGES.txt"/>
        </tasks>

        Show
        Tuomas Kiviaho added a comment - Or use antrun to copy it to suitable location. <tasks> <copy file="$ {project.build.directory} /target/announcement.vm" tofile="$ {project.basedir} /appassembler/CHANGES.txt"/> </tasks>
        Hide
        Dennis Lundberg added a comment -

        Instead of making a plain text version for the changes-report goal, I opted to make the announcement-generate goal more configurable. That way you can also include issues from JIRA.

        Fixed in r1054308.

        New 2.4-SNAPSHOT deployed for those who want to test drive this. See the example in the docs on how to use it.

        Show
        Dennis Lundberg added a comment - Instead of making a plain text version for the changes-report goal, I opted to make the announcement-generate goal more configurable. That way you can also include issues from JIRA. Fixed in r1054308 . New 2.4-SNAPSHOT deployed for those who want to test drive this. See the example in the docs on how to use it.

          People

          • Assignee:
            Dennis Lundberg
            Reporter:
            Trygve Laugstøl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: