Skip to content

[Bug] Check licensing silently passes because Maven 3.9 log lines are not parsed #9604

Description

@thswlsqls

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version
master @ ffe8e51

Compute Engine
Engine-agnostic (build/CI)

Minimal reproduce step
Maven 3.9 logs mojos by goal prefix: mvn -N dependency:tree prints --- dependency:3.7.0:tree (default-cli) @ paimon-parent ---, not maven-dependency-plugin:.... Three regexes match the artifactId spelling only (DeployParser.java:47, DependencyParser.java:41,45), matching nothing. In production (run 33834803761): 75 deploy:2.8.2:deploy lines, zero maven-deploy-plugin lines, Extracted 0 modules that were deployed.

What doesn't meet your expectations?
Expected: a bundled dependency missing from NOTICE raises Dependency %s is not listed. (CRITICAL). Actual: empty deployedModules makes NoticeFileChecker.run() drop every module, so CRITICAL is unreachable and the job stays green.

Anything else?
Patching the three regexes and replaying that log locally turns 0 into 230 severe issues: 229 unlisted dependencies, plus paimon-jindo, which bundles shaded dependencies with no NOTICE file. So the fix alone makes Check licensing red. Flink fixed the same parsers in FLINK-40459 (apache/flink@e3a53a5), accepting either spelling. I can send it with Maven 3.9 tests, but please advise on merge order first: classifying 229 dependencies for NOTICE is a licensing call for committers/PMC, not mine.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions