This is an automated email from the ASF dual-hosted git repository. jiayu pushed a commit to branch branch-1.7.0 in repository https://gitbox.apache.org/repos/asf/sedona.git
commit d916b298e9338e18ce73b8ff2c9b3abcfeadb854 Author: James Willis <[email protected]> AuthorDate: Thu Dec 19 16:47:55 2024 -0800 [DOCS] Develop profiles (#1729) * add instructions for testing different spark/scala versions in Intellij * recommend JDK version for project rather than ide setting --------- Co-authored-by: jameswillis <[email protected]> --- docs/community/develop.md | 14 +++++++++++++- docs/image/ide-java-14.png | Bin 0 -> 70442 bytes 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/community/develop.md b/docs/community/develop.md index bfb852beba..4ed90b6bc4 100644 --- a/docs/community/develop.md +++ b/docs/community/develop.md @@ -4,7 +4,7 @@ ### IDE -We recommend [Intellij IDEA](https://www.jetbrains.com/idea/) with Scala plugin installed. Please make sure that the IDE has JDK 1.8 set as project default. +We recommend [Intellij IDEA](https://www.jetbrains.com/idea/) with Scala plugin installed. Please make sure that the Project has the SDK set to a JDK 1.8. ### Import the project @@ -101,6 +101,18 @@ You can fix this issue by disabling `Use '--release' option for cross-compilatio  +### Run Tests with Different Spark/Scala Versions + +If you want to test changes with different Spark/Scala versions, you can select the Spark and Scala profile in the Maven panel. Once you have selected the desired versions, reload the sedona-parent project. See picture below + +!!!Note + The profile change won't update the module names in the IDE. Don't be misled if a module still has a `-3.3-2.12` suffix in the name. + +!!!Note + Not all combinations of spark and scala versions are supported and so they will fail to compile. + + + ## Python developers ### IDE diff --git a/docs/image/ide-java-14.png b/docs/image/ide-java-14.png new file mode 100644 index 0000000000..b7b4858834 Binary files /dev/null and b/docs/image/ide-java-14.png differ
