[
https://issues.apache.org/jira/browse/RAT-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805482#comment-17805482
]
Romain Manni-Bucau commented on RAT-343:
----------------------------------------
[~claude] guess ^^ will work, just toString() on the injection if not null
(depending how you handle it you can need to unwrap one level:
licenses.getChild(0).toString()), then you get a XML as string so you can reuse
whatever you like.
> Custom licensenses not working in contrast to v0.15
> ---------------------------------------------------
>
> Key: RAT-343
> URL: https://issues.apache.org/jira/browse/RAT-343
> Project: Apache Rat
> Issue Type: Bug
> Components: license-meta-data, scan, site
> Affects Versions: 0.16
> Reporter: Philipp Ottlinger
> Priority: Major
>
> Due to the changes introduced in 0.16 projects with custom license
> definitions do not seem to work anymore as reported by [~solomax] with
> OpenMeetings:
> [https://github.com/apache/openmeetings/blob/master/pom.xml#L1393]
> Verify that the documentation provided in
> [https://creadur.apache.org/rat/apache-rat-plugin/examples/custom-license.html]
> is correct and ideally add an example usage to
> [CreadurExamples|https://github.com/ottlinger/creadur-rat-examples] to
> prevent future regressions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)