Hello Phil,

On Wed, 25 Mar 2026 at 12:25, P. Ottlinger <[email protected]> wrote:
>
> Hi Maxim,
>
> this warning indicates that you are using "old-style" configuration
> elements.
>
> https://creadur.apache.org/rat/apache-rat/migrationguide/0.17.html

Unfortunately migration guide doesn't help with "adding new
license/family" (licenses/families) elements like here
https://creadur.apache.org/rat/apache-rat-plugin/examples/custom-license.html

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

this example also doesn't help in new license creation

>
> 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? :)))
> >
>


-- 
Best regards,
Maxim

Reply via email to