Hi Fabian,

On Tue, Feb 14, 2012 at 1:11 PM, Fabian Christ
<[email protected]> wrote:
> ...yes, we already use RAT for this task. Actually, Clerezza uses the RAT
> plugin after looking at the examples in Stanbol ;)

Ah, ok ;-)

>
> 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....

Ok - you could also add a job at https://builds.apache.org that runs
with the rat profile enabled, to report problems earlier.

>
>> 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?...

There's no general mechanism, the plugin would have to support that,
but unfortunately looking at
http://incubator.apache.org/rat/apache-rat-plugin/check-mojo.html IIUC
it doesn't, so exclusions have to be in the pom for now.

-Bertrand

Reply via email to