For Clerezza I remember having used the command line rat tool to add
missing license headers, it is important to check before committing the
modified files. I acceidentaly committed many files which shouldn't have
got a license header added (as they already had one that rat tdidn't
recognize). I had too tweak rat to correctly handle some file types.

Cheers,
Reto

On Tue, Feb 14, 2012 at 1:56 PM, Fabian Christ <[email protected]
> wrote:

> Am 14. Februar 2012 13:41 schrieb Bertrand Delacretaz <
> [email protected]>:
> >>> 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.
>
> Currently, we add the exclusion in the POM and point to a separate
> README that lists the files and their licenses, like in
>
> http://svn.apache.org/repos/asf/incubator/stanbol/trunk/enhancer/benchmark/pom.xml
>
> For files that are not AL20 we add a note in NOTICE and add the
> license in LICENSE.
>
> --
> Fabian
> http://twitter.com/fctwitt
>

Reply via email to