majian1998 opened a new pull request, #6683: URL: https://github.com/apache/paimon/pull/6683
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Linked issue: close #6682 <!-- What is the purpose of the change --> `paimon-spark-4.0_2.13` is intended for Spark 4 + Scala 2.13, but its POM currently inherits `scala.binary.version` from `paimon-parent`. Since the default value in the parent is `2.12`, Maven may resolve `_2.12` Spark / Paimon Spark artifacts for this module when the `spark4` profile is not explicitly activated (both in external projects and when running `mvn clean install` under `paimon-spark-4.0`). This PR makes the Scala version for `paimon-spark-4.0_2.13` explicit and local to the module ### Tests <!-- List UT and IT cases to verify this change --> ``` mvn -pl paimon-spark/paimon-spark-4.0_2.13 -DskipTests clean install ``` From an external Spark 4 + Scala 2.13 project that depends on org.apache.paimon:paimon-spark-4.0_2.13, verified with: ``` mvn dependency:tree -Dincludes=org.apache.paimon:paimon-spark-4.0_2.13 ``` that only _2.13 Spark / Paimon Spark artifacts are resolved and no _2.12 artifacts are pulled in. ### API and Format <!-- Does this change affect API or storage format --> No API changes. No storage format changes. ### Documentation <!-- Does this change introduce a new feature --> None -- 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]
