You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/07/15 08:21:00 UTC

[jira] [Created] (RAT-308) After update from 0.13 to 0.14 check emits violation for ".gitattributes"

Konrad Windszus created RAT-308:
-----------------------------------

             Summary: 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


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)