Hi Bertrand, Am 14. Februar 2012 11:09 schrieb Bertrand Delacretaz <[email protected]>: > Hi, > > On Tue, Feb 14, 2012 at 7:59 AM, Fabian Christ > <[email protected]> wrote: >> ...I'm (again) checking the whole code base for missing AL20 headers. I >> can tell you it is an annoying job.. > > You should use a computer ;-) > > Apache RAT does exactly that, the Clerezza build uses its Maven plugin > for that job, see the "rat" profile in > http://svn.apache.org/repos/asf/incubator/clerezza/trunk/parent/pom.xml
yes, we already use RAT for this task. Actually, Clerezza uses the RAT plugin after looking at the examples in Stanbol ;) So I run the rat:check and then have to fix all the files that do not have an AL20 header. I already use an automated insert_header script but this task still needs a hand. Those fixes could be avoided if each developer keeps an eye on present AL20 headers in all of their files. > If you use that plugin, it would be better IMO to define the > exclusions in a separate file outside of the pom, to make it clearer > when those exclusions change. Good idea. But how do you define the configuration for a plugin (the RAT exclusions in this case) outside of the POM? Is there something like an include? -- Fabian http://twitter.com/fctwitt
