[ https://issues.apache.org/jira/browse/MSHARED-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601973#comment-14601973 ]
Hervé Boutemy commented on MSHARED-392: --------------------------------------- yes, since coma "," is the separator between label and url, and no escaping mecanism is available, you can't use a label with coma in it > AbstractMavenReportRenderer#applyPattern(String) chokes on some specific > input and produces useless segments > ------------------------------------------------------------------------------------------------------------ > > Key: MSHARED-392 > URL: https://issues.apache.org/jira/browse/MSHARED-392 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-reporting-impl > Affects Versions: maven-reporting-impl-2.3 > Reporter: Michael Osipov > > Consider this input: > {noformat} > {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} > {noformat} > It should be broken up into six segments. The output of {{applyPattern}} is: > {noformat} > [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) > {noformat} > and the output is incorrectly generated. -- This message was sent by Atlassian JIRA (v6.3.4#6332)