creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RAT-171) Allow exclude patterns to be read from a file or files
Date Sat, 06 Sep 2014 20:48:28 GMT

     [ https://issues.apache.org/jira/browse/RAT-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ignasi Barrera updated RAT-171:
-------------------------------
    Attachment: RAT-171.patch

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)

Mime
View raw message