[
https://issues.apache.org/jira/browse/RAT-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805014#comment-17805014
]
Claude Warren commented on RAT-343:
-----------------------------------
I think I have 2 solutions. Both of which should be implemented.
* Add back the SimplePatternBasedMatcher class but deprecated and logging a
warning about deprecation. In addition modify the AbstractRatMojo to accept
it. Then during the create Configuratoin processing add the
SmplePatternBasedMatcher info to the final configuration. This means that the
old configuraiton drives the new model, and we give time to switch over. This
would be removed in v1.0
* Create an XSLT to convert from old POM format to new POM format. Also add a
script to allow conversion from pom format to external license definition file.
Finally, I think we should add some tools to make it easier to run RAT from
the command line. A set of (one?) script to setup and run the application.
I will start on #1 above as I think that it will be best for people who just
want to continue to use the application.
> 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)