[ 
https://issues.apache.org/jira/browse/RAT-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898888#comment-17898888
 ] 

Claude Warren commented on RAT-98:
----------------------------------

[~robertburrelldonkin], [~sebb], and [~denn...@apache.org] : 

Excluded files are not listed in the report.  In many cases there would be too 
many particularly since we now have:

--input-exclude -> excludes files based on a pattern
--input-exclude-file -> excludes files based on contents of a file of patterns.
--input-exclude-parsed-scm -> excludes files based on SCM file like .gitignore 
or .cvsignore defined in a Standard Collection
--input-exclude-std -> excludes Standard Collections of files like GIT ignoring 
**/.gitignore and **/.git

There is also

--input-include -> includes files based on a pattern
--input-include-file -> includes files based on contents of a file of patterns.
--input-include-std -> includes Standard Collections of files like GIT ignoring 
**/.gitignore and **/.git

 

The definition of all the Standard Collections are listed in the help.

 

We could add another option

--output-exclude-log <file> -> log the excluded file names to a file.

Would this work for you?

 

 

> Maven RAT report does not document skipped files
> ------------------------------------------------
>
>                 Key: RAT-98
>                 URL: https://issues.apache.org/jira/browse/RAT-98
>             Project: Apache Rat
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Major
>             Fix For: 0.17
>
>
> The Maven RAT report should document which files have been skipped using the 
> <exclude> option.
> Either by listing the configuration details, or better by listing the file 
> names with a marker, e.g. EX to show they were deliberately skipped.
> Note: this only refers to files listed in <exclude> entries, not files which 
> are excluded by default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to