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

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

    XMLWordPrintableJSON

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?

      Attachments

        Activity

          People

            bmargulies Benson Margulies
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: