Thanks! :)) from mobile (sorry for typos ;)
On Fri, Mar 8, 2024, 17:44 Claude Warren <cla...@xenei.com> wrote: > RAT-364 has been opened to address this issue. > > https://issues.apache.org/jira/browse/RAT-364 > > On Fri, Mar 8, 2024 at 11:32 AM Claude Warren <cla...@xenei.com> wrote: > > > This is an error. The Licenses is listed as Deprecated when it is not. > > The note in the code says the type should be changed from an array of > > Object to an array of License. > > > > > > On Mon, Mar 4, 2024 at 5:24 AM Maxim Solodovnik <solomax...@gmail.com> > > wrote: > > > >> Thanks for the quick answer Phil :) > >> > >> On Mon, 4 Mar 2024 at 03:33, P. Ottlinger <pottlin...@apache.org> > 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 > >> > > > > > > -- > > LinkedIn: http://www.linkedin.com/in/claudewarren > > > > > -- > LinkedIn: http://www.linkedin.com/in/claudewarren >