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

    • Number of attachments :
      0

      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

        Hide
        Benson Margulies added a comment - - edited

        r1131414 | bimargulies | 2011-06-04 11:17:46 -0400 (Sat, 04 Jun 2011) | 4 lines

        [MCHANGES-254, MCHANGES-253] add more calls to trim, fix doc.

        Also fix some warnings in site generation.

        Show
        Benson Margulies added a comment - - edited r1131414 | bimargulies | 2011-06-04 11:17:46 -0400 (Sat, 04 Jun 2011) | 4 lines [MCHANGES-254, MCHANGES-253] add more calls to trim, fix doc. Also fix some warnings in site generation.
        Hide
        Benson Margulies added a comment - - edited

        r1131484 | dennisl | 2011-06-04 16:00:43 -0400 (Sat, 04 Jun 2011) | 2 lines

        MCHANGES-254 Example doesn't work - spaces not allowed in statusIds and resolutionIds after a comma
        Fix typo from r1131414 .

        Show
        Benson Margulies added a comment - - edited r1131484 | dennisl | 2011-06-04 16:00:43 -0400 (Sat, 04 Jun 2011) | 2 lines MCHANGES-254 Example doesn't work - spaces not allowed in statusIds and resolutionIds after a comma Fix typo from r1131414 .

          People

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

            Dates

            • Created:
              Updated:
              Resolved: