On Mon, Dec 13, 2010 at 11:33 AM, Stefane Fermigier <[email protected]> wrote: > On Dec 13, 2010, at 11:30 AM, Bertrand Delacretaz wrote: ... >> http://incubator.apache.org/rat/ is useful to check headers before a >> release, but I'm not sure what the use case is for a maven license >> headers plugin. > > I can see 3 different use cases: > > 1. Check that all your source code files have some kind of header, with some > rules (for instance regarding the copyright years, etc.) > > 2. Add a given header to your files when it's missing, according to some > rules. > > 3. Report on the various license types used in your headers, so as to check > you don't have some legal issue.
RAT does 1. and 3., it's the official ASF tool and IIRC there's a Maven plugin for it. If someone wants to integrate it in our build I'm fine with that, otherwise it's easy to run it manually when preparing a release. -Bertrand
