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
