thswlsqls opened a new issue, #10869:
URL: https://github.com/apache/paimon/issues/10869

   **Search before asking**
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   **Paimon version**
   2.1.0 (released), also master @ 5c82868d50 (2.2-SNAPSHOT)
   
   **Compute Engine**
   Engine-agnostic (packaging / `paimon-codegen`)
   
   **Minimal reproduce step**
   ```bash
   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 (359ccad111), 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?**
   - [x] I'm willing to submit a PR!
   


-- 
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]

Reply via email to