Skip to content

[MSHARED-392] AbstractMavenReportRenderer#applyPattern(String) chokes on some specific input and produces useless segments #120

Description

@jira-importer

Michael Osipov opened MSHARED-392 and commented

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.


Affects: maven-reporting-impl-2.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions