Savonitar opened a new pull request, #69: URL: https://github.com/apache/flink-connector-shared-utils/pull/69
## What is the purpose of this change? The shared connector CI workflow uses Maven’s build log to check that each connector’s NOTICE lists the dependencies bundled in its JAR. Maven Shade Plugin 3.6.1 logs those dependencies at DEBUG level. With the default logging level, the license check can pass even when a required entry is missing. For example, the Kafka transaction tool bundles `kafka-clients`. Removing `org.apache.kafka:kafka-clients:4.2.0` from its NOTICE still allowed the check to pass. Jira: [FLINK-41697](https://issues.apache.org/jira/browse/FLINK-41697) ## What changed? - Enable DEBUG logging for `ShadeMojo` so Maven records which dependencies it bundles. - Give the license checker a separate copy of the build log with the existing Maven 3.9 banner normalization applied. Remove skipped-POM records from that copy because the checker otherwise counts them as bundled dependencies. Preserve the raw build log. ## How was this verified? Tested locally with the released Flink 2.2.1 and 2.3.0 license checkers. Both passed with the complete Kafka transaction-tool NOTICE and reported exactly one missing dependency when the `kafka-clients` entry was removed. A separate Maven 3.9.16 build verified that both checkers ignored a skipped POM and still caught missing entries for shaded and copied JARs. ## AI assistance OpenAI Codex (GPT-6) assisted with implementation and validation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
