Thanks for the quick answer Phil :)

On Mon, 4 Mar 2024 at 03:33, P. Ottlinger <[email protected]> wrote:
>
> Hi Maxim,
>
> Am 01.03.24 um 09:49 schrieb Maxim Solodovnik:
> > Hello,
> >
> > According to 
> > https://creadur.apache.org/rat/apache-rat-plugin/check-mojo.html#licenses
> > (and build output)
> >
> > <licenses> marked as Deprecated
> > Could you please suggest what should be used to remove Deprecated warning? 
> > :)
>
> https://creadur.apache.org/rat/apache-rat-plugin/examples/custom-license.html
> was added in r0.16.1.

Actually out config was already aligned with this example:
https://github.com/apache/openmeetings/blob/master/pom.xml#L1378

But We got build warning "<licenses> is Deprecated" :(

Documentation at the main site:
https://creadur.apache.org/rat/apache-rat-plugin/check-mojo.html#licenses
states the same :(

"""
Deprecated.
No reason given

This is an object to accept both License of DeprecatedConfig objects.
"""

>
> You can remove some of the custom-defined licenses as they are part of
> the default list of licenses:
> https://github.com/apache/creadur-rat/blob/master/apache-rat-core/src/main/resources/org/apache/rat/default.xml
>
> and need to change the configuration as shown in the example.
>
> HTH
> Phil
>
>


-- 
Best regards,
Maxim

Reply via email to