Hi Maxim,

this warning indicates that you are using "old-style" configuration elements.

https://creadur.apache.org/rat/apache-rat/migrationguide/0.17.html

An example of the new configuration can be found here:
https://github.com/ottlinger/mailclena/blob/master/pom.xml#L337

HTH
Phil

Am 25.03.26 um 01:53 schrieb Maxim Solodovnik:
Hello All,

For couple of versions (0.17, and 0.18) I've got following warnings in
maven logs:

[INFO] Configuring report plugin apache-rat-plugin:0.18
[WARNING]  Parameter 'families' is deprecated: Use specific
configuration under <configuration>.
[WARNING]  Parameter 'licenses' is deprecated: Deprecated for removal
since 0.17: Use specific configuration under <configuration>. See
configuration file documentation.

I would say warning message is a bit unclear. It states what is wrong
but gave no hint on how it should be fixed :(

I've check the site:
https://creadur.apache.org/rat/apache-rat-plugin/examples/custom-license.html
clearly uses both "deprecated" configurations

What is recommended way to bypass this deprecations? :)))


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to