[
https://issues.apache.org/jira/browse/RAT-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus closed RAT-308.
-------------------------------
Resolution: Invalid
As discussed, this works as designed in 0.14 and newer and was not working due
to bugs in 0.13 and before.
> After update from 0.13 to 0.14 check emits violation for ".gitattributes"
> -------------------------------------------------------------------------
>
> Key: RAT-308
> URL: https://issues.apache.org/jira/browse/RAT-308
> Project: Apache Rat
> Issue Type: Bug
> Components: maven
> Affects Versions: 0.14
> Reporter: Konrad Windszus
> Priority: Major
>
> You find the example build in
> https://github.com/apache/jackrabbit-filevault/pull/238 which updates to the
> newest ASF parent (referencing Rat 0.14).
> {code}
> INFO] --- apache-rat-plugin:0.14:check (default) @ jackrabbit-filevault ---
> [INFO] Enabled default license matchers.
> [INFO] Will parse SCM ignores for exclusions...
> [INFO] Parsing exclusions from
> f:\jenkins\jenkins-slave\712657a4\workspace\Jackrabbit_filevault_PR-238\.gitignore
> [INFO] Finished adding exclusions from SCM ignore files.
> [INFO] 81 implicit excludes.
> [INFO] 12 explicit excludes.
> [INFO] 37 resources included
> [INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1,
> generated: 0, approved: 27 licenses.
> [INFO] Enabled default license matchers.
> [INFO] Will parse SCM ignores for exclusions...
> [INFO] Parsing exclusions from
> f:\jenkins\jenkins-slave\712657a4\workspace\Jackrabbit_filevault_PR-238\.gitignore
> [INFO] Finished adding exclusions from SCM ignore files.
> [INFO] 81 implicit excludes.
> [INFO] 12 explicit excludes.
> [INFO] 37 resources included
> [WARNING] Files with unapproved licenses:
> .gitattributes
> ....
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.14:check
> (default) on project jackrabbit-filevault: Too many files with unapproved
> license: 1 See RAT report in:
> f:\jenkins\jenkins-slave\712657a4\workspace\Jackrabbit_filevault_PR-238\target\rat.txt
> -> [Help 1]
> {code}
> The same code base with Rat 0.13 passes the check.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)