Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-392

AbstractMavenReportRenderer#applyPattern(String) chokes on some specific input and produces useless segments

    Details

      Description

      Consider this input:

      {Indiana University Extreme! Lab Software License, vesion 1.1.1,http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt}{Public Domain,http://creativecommons.org/licenses/publicdomain}{Apache Software License, version 1.1,http://www.apache.org/licenses/LICENSE-1.1}
      

      It should be broken up into six segments. The output of applyPattern is:

      [0]	"Indiana University Extreme! Lab Software License, vesion 1.1.1" (id=321)
      [1]	"http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt" (id=322)
      [2]	"" (id=323)
      [3]	null
      [4]	"Public Domain" (id=324)
      [5]	"http://creativecommons.org/licenses/publicdomain" (id=325)
      [6]	"" (id=326)
      [7]	null
      [8]	"Apache Software License, version 1.1" (id=328)
      [9]	"http://www.apache.org/licenses/LICENSE-1.1" (id=329)
      

      and the output is incorrectly generated.

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              michael-o Michael Osipov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: