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
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: announcement
    • Labels:
      None

      Description

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

        Activity

        Trygve Laugstøl created issue -
        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
        Sebb 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
        Sebb 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>
        Dennis Lundberg made changes -
        Field Original Value New Value
        Component/s announcement [ 12879 ]
        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.
        Dennis Lundberg made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.4 [ 16043 ]
        Resolution Fixed [ 1 ]
        Assignee Dennis Lundberg [ dennislundberg ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:14:45 UTC 2015 [ 1428225285377 ]
        Mark Thomas made changes -
        Workflow jira [ 12717995 ] Default workflow, editable Closed status [ 12749370 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:40:15 UTC 2015 [ 1428273615853 ]
        Mark Thomas made changes -
        Workflow jira [ 12955459 ] Default workflow, editable Closed status [ 12992665 ]
        Mark Thomas made changes -
        Assignee dennislundberg [ dennislundberg ] Dennis Lundberg [ dennisl@apache.org ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        551d 7h 12m 1 Dennis Lundberg 01/Jan/11 16:56

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development