creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Ottlinger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAT-171) Allow exclude patterns to be read from a file or files
Date Fri, 10 Apr 2015 22:24:12 GMT

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

Philipp Ottlinger commented on RAT-171:
---------------------------------------

[~nacx] Is the current implementation approach helpful for you?
Please try with a 0.12-SNAPSHOT of at least [r1672780|http://svn.apache.org/viewvc?view=revision&revision=r1672780]

Thanks for any feedback - should the feature be enabled by default?



> 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: New Feature
>    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.
> h3. Example usage
> Either configure parsing SCM ignore files by a environment variable 
> {code}
> mvn -U -debug -Drat.parseSCMIgnoresAsExcludes=true
> {code}
> or in your configuration section of apache-rat-maven plugin 
> {code}
> <parseSCMIgnoresAsExcludes>true</true>
> As if now this feature is not enabled by default.



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

Mime
View raw message