[
https://issues.apache.org/jira/browse/RAT-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567368#comment-17567368
]
Philipp Ottlinger commented on RAT-308:
---------------------------------------
I checked with
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Java version: 18.0.1.1, vendor: Oracle Corporation
under Ubuntu and can confirm the difference between 0.13 and 0.14 - the basic
file scanning has not really been changed, but many dependencies have been
updated ....
The current 0.15-SNAPSHOT shows the same behaviour as 0.14 ..... so I tend to
close this bug as won'tFix as a workaround is available to correct the
exclusion scanning. What do you think?
> 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)