[
https://issues.apache.org/jira/browse/RAT-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806309#comment-17806309
]
Niels Basjes commented on RAT-343:
----------------------------------
I have created a new test to ensure the custom license validation works
[https://github.com/apache/creadur-rat/pull/194]
I found 2 things (that required a debugger to figure out) if you only want your
custom license:
# You need to add your custom license to the approved licenses
# The 'approvedLicense' is not the id of the license but the if of the license
family. Which is confusing to say the least (I would split this into approved
License and approved family).
> 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
> Assignee: Claude Warren
> Priority: Major
> Fix For: 0.16.1
>
>
> 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)