Skip to content

[Bug] Bundled NOTICE of paimon-codegen lists Scala 2.12.15 but the jar ships 2.12.18 #10869

Open

Description

@thswlsqls

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version
2.1.0 (released), also master @ 5c82868 (2.2-SNAPSHOT)

Compute Engine
Engine-agnostic (packaging / paimon-codegen)

Minimal reproduce step

curl -sSLO https://repo1.maven.org/maven2/org/apache/paimon/paimon-codegen/2.1.0/paimon-codegen-2.1.0.jar
unzip -p paimon-codegen-2.1.0.jar META-INF/NOTICE | grep scala-lang
unzip -p paimon-codegen-2.1.0.jar library.properties compiler.properties reflect.properties | grep maven.version.number

The NOTICE lists scala-compiler, scala-library and scala-reflect at 2.12.15, while all three *.properties files in the same jar report maven.version.number=2.12.18.

What doesn't meet your expectations?
The bundled NOTICE should list the Scala versions actually shaded into the jar. On master, mvn -pl paimon-codegen -DskipTests package prints Including org.scala-lang:scala-{library,reflect,compiler}:jar:2.12.18.

Anything else?
Introduced by #5505 (359ccad), which changed scala212.version from 2.12.15 to 2.12.18 (codegen.scala.version resolves to it) without updating paimon-codegen/src/main/resources/META-INF/NOTICE. The license (Apache-2.0) is unchanged; only the three version labels are stale. Same fix shape as #8966.

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