You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2014/09/06 22:48:29 UTC

[jira] [Comment Edited] (RAT-171) Allow exclude patterns to be read from a file or files

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

Ignasi Barrera edited comment on RAT-171 at 9/6/14 8:48 PM:
------------------------------------------------------------

Following my last comment, I've removed the default processing of the .gitignore file. That should be better accomplished in RAT-172, as each SCM has its own syntax and valid patterns that might not be the same used by the Plexus scanner.

The remaining patch just adds the {{useExclusionsFromFiles}} configuration property so users can have a "rat exclusions file" with all exclusions there, leaving the pom.xml a bit more clean. This can also be used to exclude files from SCM ignore files if needed.


was (Author: nacx):
Following my last comment, I've removed the default processing of the .gitignore file. That should be better accomplished in [https://issues.apache.org/jira/browse/RAT-172|RAT-172], as each SCM has its own syntax and valid patterns that might not be the same used by the Plexus scanner.

The remaining patch just adds the {{useExclusionsFromFiles}} configuration property so users can have a "rat exclusions file" with all exclusions there, leaving the pom.xml a bit more clean. This can also be used to exclude files from SCM ignore files if needed.

> Allow exclude patterns to be read from a file or files
> ------------------------------------------------------
>
>                 Key: RAT-171
>                 URL: https://issues.apache.org/jira/browse/RAT-171
>             Project: Apache Rat
>          Issue Type: Improvement
>    Affects Versions: 0.11
>            Reporter: Ignasi Barrera
>            Assignee: Philipp Ottlinger
>         Attachments: RAT-171.patch
>
>
> The apache-rat-plugin ignores by default the .gitignore files. However, for every file/pattern added to those files, an explicit exclusion must be set in the plugin's configuration.
> Given that git-ignored files won't be uploaded to the SCM and shouldn't be part of a release, it would be nice that the apache-rat-plugin automatically considered those git-ignored files as implicit exclusions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)