This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new a763291ec0 [DOCS] Develop profiles (#1729)
a763291ec0 is described below
commit a763291ec0d9b724460d693912386f59c710c301
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 d9aefa3b14..264d349c85 100644
--- a/docs/community/develop.md
+++ b/docs/community/develop.md
@@ -23,7 +23,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
@@ -120,6 +120,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