pan3793 opened a new pull request, #7799:
URL: https://github.com/apache/kyuubi/pull/7799
### Why are the changes needed?
The silencer compiler plugin is no longer needed: Scala 2.12.13+ and 2.13.2+
have a built-in
`-Wconf` option that can suppress warnings by message. silencer is also
published per exact
Scala version (`silencer-plugin_${scala.version}`), so each Scala patch
upgrade has to wait
for a matching silencer release.
This replaces the three silencer global filters with `-Wconf:msg=<regex>:s`
rules. Spark made
the same change in SPARK-44113 (4.0.0).
No source code uses silencer's `@silent` annotation, so only `pom.xml`
changes.
### How was this patch tested?
Compiled all modules, including test sources, on Scala 2.12 and 2.13 with
JDK 17:
```
build/mvn -Pfast clean package -DskipTests
build/mvn -Pfast,scala-2.13 clean package -DskipTests
```
### Was this patch assisted by generative AI tooling?
Assisted-by: Claude Opus 5.5
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]