Aleksandr Savonin created FLINK-41697:
-----------------------------------------

             Summary: Connector CI can miss shaded dependencies in NOTICE checks
                 Key: FLINK-41697
                 URL: https://issues.apache.org/jira/browse/FLINK-41697
             Project: Flink
          Issue Type: Bug
          Components: Build System / CI
            Reporter: Aleksandr Savonin


The shared connector CI workflow uses Maven’s build log to check that each 
connector’s {{NOTICE}} file lists the libraries bundled in its JAR. Maven Shade 
Plugin 3.6.1 logs those libraries only at DEBUG level, so the checker can miss 
them with the default settings.

For example, the Kafka transaction tool bundles 
{{{}org.apache.kafka:kafka-clients:4.2.0{}}}. Removing that entry from a test 
copy of {{NOTICE}} still allowed the check to pass.

Enable DEBUG logging for the Shade plugin and filter out records for POMs that 
Maven skips. The check should pass with the complete {{NOTICE}} and fail when 
the {{kafka-clients}} entry is removed.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to