maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@codehaus.org>
Subject [jira] (MSHARED-392) AbstractMavenReportRenderer#applyPattern(String) chokes on some specific input and produces useless segments
Date Thu, 11 Dec 2014 22:33:10 GMT

     [ https://jira.codehaus.org/browse/MSHARED-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov moved MPIR-320 to MSHARED-392:
---------------------------------------------

          Component/s:     (was: dependencies)
                       maven-reporting-impl
    Affects Version/s:     (was: 2.7)
                       maven-reporting-impl-2.3
                  Key: MSHARED-392  (was: MPIR-320)
              Project: Maven Shared Components  (was: Maven Project Info Reports Plugin)

> AbstractMavenReportRenderer#applyPattern(String) chokes on some specific input and produces
useless segments
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MSHARED-392
>                 URL: https://jira.codehaus.org/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.1.6#6162)

Mime
View raw message