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 7502bf5d25 [GH-2316] Fix graphframes dependency across Spark major 
versions (#2317)
7502bf5d25 is described below

commit 7502bf5d256e583534a778bd2051a0c5b3c60ab3
Author: Adam Binford <[email protected]>
AuthorDate: Thu Aug 28 19:06:16 2025 -0400

    [GH-2316] Fix graphframes dependency across Spark major versions (#2317)
---
 pom.xml              | 1 +
 spark/common/pom.xml | 1 -
 spark/pom.xml        | 5 +++++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index bd6d0c0bc4..8d0b697951 100644
--- a/pom.xml
+++ b/pom.xml
@@ -601,6 +601,7 @@
                 <version>1.0</version>
                 <configuration>
                     <properties>
+                        
<spark.major.version>${spark.major.version}</spark.major.version>
                         
<spark.compat.version>${spark.compat.version}</spark.compat.version>
                         
<scala.compat.version>${scala.compat.version}</scala.compat.version>
                         <spark.version>${spark.version}</spark.version>
diff --git a/spark/common/pom.xml b/spark/common/pom.xml
index 40166c060f..4f8265be5c 100644
--- a/spark/common/pom.xml
+++ b/spark/common/pom.xml
@@ -187,7 +187,6 @@
         <dependency>
             <groupId>io.graphframes</groupId>
             
<artifactId>graphframes-spark${spark.major.version}_${scala.compat.version}</artifactId>
-            <version>${graphframes.version}</version>
         </dependency>
         <dependency>
             <groupId>org.scala-lang</groupId>
diff --git a/spark/pom.xml b/spark/pom.xml
index 3242854aba..e9c1dd65ce 100644
--- a/spark/pom.xml
+++ b/spark/pom.xml
@@ -89,6 +89,11 @@
                 <version>${spark.version}</version>
                 <scope>provided</scope>
             </dependency>
+            <dependency>
+                <groupId>io.graphframes</groupId>
+                
<artifactId>graphframes-spark${spark.major.version}_${scala.compat.version}</artifactId>
+                <version>${graphframes.version}</version>
+            </dependency>
             <dependency>
                 <groupId>org.scala-lang</groupId>
                 <artifactId>scala-library</artifactId>

Reply via email to