You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2015/03/27 19:58:57 UTC

https://issues.apache.org/jira/browse/RAT-199

Hi,

based on the above requirement i have some questions.

Is there a simple way to get a list of files which violate the licenses 
definitions? The list of files which will be put by the maven plugin 
into target/rat.txt like this:

Unapproved licenses:

   online-change.patch
   src/it/pom-filtering-extensions/src/it/project/.mvn/extensions.xml

So can someone of the developer give a hint where to get such a list of 
files without really creating the report in target folder?

Furthermore is it possible to get the line numbers where to expect the 
license to start ?

This would solve my problem to start integration of m2e for Eclipse into 
apache-rat maven plugin...


Kind regards
Karl Heinz Marbaise

Re: https://issues.apache.org/jira/browse/RAT-199

Posted by "P. Ottlinger" <po...@apache.org>.
Hi Karl Heinz,

thanks for your interest and inquiries.

Am 27.03.2015 um 19:58 schrieb Karl Heinz Marbaise:
> Furthermore is it possible to get the line numbers where to expect the
> license to start ?
> 
> This would solve my problem to start integration of m2e for Eclipse into
> apache-rat maven plugin...

I assume this would mean that RAT needs to run endlessly and scan all
your files.

The current architecture is - IMHO - not really feasible for that task.

We should scan for file changes first and implement incremental file
scans. After an initial scan of all files (doable within the current
setup) this would be the way to go ...

I don't really know how a m2e extension should look like so I'm not sure
if this is in the original scope of RAT.

Cheers,
Phil