Ryan Skraba created AVRO-4219:
---------------------------------

             Summary: [Build][Java] Apache RAT plugin is run when -PskipQuality 
is set
                 Key: AVRO-4219
                 URL: https://issues.apache.org/jira/browse/AVRO-4219
             Project: Apache Avro
          Issue Type: Task
          Components: build, java
    Affects Versions: 1.12.1
            Reporter: Ryan Skraba


The RAT plugin is configured at the top-level pom.xml, but the {{skipQuality}} 
profile is configured in {{lang/java}}.  As a consequence, the rat plugin is 
run on all workflows that use Java, even when it's unrelated to what is being 
built or under test (for example [C# interoperability 
tests|https://github.com/apache/avro/actions/runs/19940449174/job/57176535746#step:8:85]).

{code}
[INFO] --- apache-rat:0.16.1:check (default) @ avro-toplevel ---
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
6, approved: 1534 licenses.
[INFO] 
{code}

We should definitely be applying RAT checks at the top-level and to files in 
the source distribution, but we should not be applying them when 
{{-PskipQuality}} is explicitly set.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to