On 14/10/19 13:15, Misagh Moayyed wrote: > I think the license-maven-plugin does have the ability to generate license > headers or remove/update them. Is that not the behavior we are looking for, > or do I misunderstand?
As I was saying in the original email, the job that ianal-maven-plugin does is to ensure that each artifact we generate contains both LICENSE and NOTICE files, in the appropriate places; otherwise, fail the build. We are not talking about generate / remove / update license headers. Regards. > ----- Original Message ----- >> From: "Francesco Chicchiriccò" <[email protected]> >> To: "dev" <[email protected]> >> Sent: Friday, October 4, 2019 11:59:40 AM >> Subject: Re: [DISCUSS] How to replace ianal-maven-plugin? >> On 04/10/19 09:55, Misagh Moayyed wrote: >>>> We can only think to replace its features with something else; the job that >>>> ianal-maven-plugin does is to ensure that each artifact we generate >>>> contains >>>> both LICENSE and NOTICE files, in the appropriate places; otherwise, fail >>>> the >>>> build. >>>> >>>> Any idea about how to obtain the same feature with other plugin(s)? >>> I have used the following in the past: >>> >>> - https://github.com/Jasig/maven-notice-plugin (...which I more or less >>> maintain >>> with others) >>> - https://github.com/mycila/license-maven-plugin >>> >>> I am not sure if they are really that much better than the current plugin, >>> but >>> it's worth trying them out with Syncope. >> Are you sure that such two plugins do the job that ianal-maven-plugin does? >> As >> far as I can see, the former generates NOTICE files, while the latter does >> more >> or less the same job that Apache RAT does. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/
