zhangshenghang opened a new pull request, #11117: URL: https://github.com/apache/seatunnel/pull/11117
### Purpose Fixes #11115. `seatunnel-scala-compiler` was pinned to Scala 2.13 while the root build and Spark translation modules use Scala 2.12. That lets Scala 2.13 compiler/reflect classes enter the transform package and can break Spark 2.12 runtime reflection with Scala signature version mismatch errors. ### Changes - Remove the local Scala 2.13 override from `seatunnel-scala-compiler` so it inherits the root Scala 2.12 version. - Update `ScalaClassParser` to use the Scala 2.12-compatible `IMain(Settings)` constructor instead of the Scala 2.13-only reporter implementation package. - Add a CI test to prevent `seatunnel-scala-compiler` from overriding the root Scala version again. ### Verification - `./mvnw spotless:apply` - `./mvnw -pl seatunnel-ci-tools -Dtest=ScalaCompilerVersionCheckTest -DforkCount=0 test` - `./mvnw -pl seatunnel-transforms-v2 -am -DskipTests verify` - `./mvnw -q -DskipTests verify` -- 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]
