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

Example doesn't work - spaces not allowed in statusIds and resolutionIds after a comma

    Details

      Description

      http://maven.apache.org/plugins/maven-changes-plugin/examples/customizing-jira-report.html#Using_Maven_syntax

      gives the following examples:

      <configuration>
      <resolutionIds>Closed</resolutionIds>
      <statusIds>Resolved, Closed</statusIds>
      <typeIds>Bug, New Feature, Improvement, Wish</typeIds>
      </configuration>

      However, spaces are not always allowed, they can cause the field to be ignored.

      <statusIds>Resolved,Closed</statusIds> - OK
      <statusIds> Resolved,Closed</statusIds> - OK
      <statusIds>Resolved,Closed </statusIds> - OK
      <statusIds> Resolved,Closed </statusIds> - OK

      <statusIds>Resolved, Closed</statusIds> - Closed is ignored
      <statusIds> Resolved, Closed</statusIds> - Closed is ignored
      <statusIds> Resolved, Closed </statusIds> - Closed is ignored

      In particular, the example from the web page does not work.

      Note that the typeIds field does appear to allow leading space after a comma.
      The resolutionIds field does not.

      Since spaces are sometimes allowed, may I suggest the code is fixed rather than the documentation?

        Activity

        sebbasf created issue -
        Benson Margulies made changes -
        Field Original Value New Value
        Assignee Benson Margulies [ bmargulies ]
        Benson Margulies made changes -
        Fix Version/s 2.6 [ 17375 ]
        Benson Margulies made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Benson Margulies made changes -
        Comment [ r1131484 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:14:45 UTC 2015 [ 1428225285377 ]
        Mark Thomas made changes -
        Workflow jira [ 12718088 ] Default workflow, editable Closed status [ 12749440 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:40:15 UTC 2015 [ 1428273615853 ]
        Mark Thomas made changes -
        Workflow jira [ 12955321 ] Default workflow, editable Closed status [ 12992405 ]
        Mark Thomas made changes -
        Reporter SebbASF [ sebbasf ] Sebb [ sebb@apache.org ]

          People

          • Assignee:
            Benson Margulies
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development