This is an automated email from the ASF dual-hosted git repository.

csy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git


The following commit(s) were added to refs/heads/master by this push:
     new c8996c16 [AURON #1794] Fix IDEA import error by using fixed shim 
module name (#1795)
c8996c16 is described below

commit c8996c167259ab318377998ed1af903d38dad018
Author: Thomas <[email protected]>
AuthorDate: Sat Dec 27 22:47:18 2025 +0800

    [AURON #1794] Fix IDEA import error by using fixed shim module name (#1795)
    
    # Which issue does this PR close?
    
    Closes #1794
    
    # Rationale for this change
    
    The shim module name is always `spark-extension-shims-spark` across all
    supported Spark versions, making the ${shimPkg} variable unnecessary.
    Replace it with the fixed name in the parent POM and assembly module,
    and remove the unused <shimPkg> property definitions from profiles. This
    resolves the "Module '${shimPkg}' not found" error during initial
    project import in IDEs.
    
    # What changes are included in this PR?
    
    # Are there any user-facing changes?
    
    # How was this patch tested?
---
 dev/mvn-build-helper/assembly/pom.xml | 2 +-
 pom.xml                               | 8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/dev/mvn-build-helper/assembly/pom.xml 
b/dev/mvn-build-helper/assembly/pom.xml
index 51021539..f66b6321 100644
--- a/dev/mvn-build-helper/assembly/pom.xml
+++ b/dev/mvn-build-helper/assembly/pom.xml
@@ -41,7 +41,7 @@
     </dependency>
     <dependency>
       <groupId>org.apache.auron</groupId>
-      <artifactId>${shimPkg}_${scalaVersion}</artifactId>
+      <artifactId>spark-extension-shims-spark_${scalaVersion}</artifactId>
       <version>${project.version}</version>
     </dependency>
     <dependency>
diff --git a/pom.xml b/pom.xml
index d46edea1..38053d17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,7 +38,7 @@
     <module>common</module>
     <module>spark-version-annotation-macros</module>
     <module>spark-extension</module>
-    <module>${shimPkg}</module>
+    <module>spark-extension-shims-spark</module>
     <module>hadoop-shim</module>
     <module>dev/mvn-build-helper/assembly</module>
     <module>dev/mvn-build-helper/proto</module>
@@ -639,7 +639,6 @@
       <id>spark-3.0</id>
       <properties>
         <shimName>spark-3.0</shimName>
-        <shimPkg>spark-extension-shims-spark</shimPkg>
         <scalaTestVersion>3.0.8</scalaTestVersion>
         <sparkVersion>3.0.3</sparkVersion>
         <shortSparkVersion>3.0</shortSparkVersion>
@@ -651,7 +650,6 @@
       <id>spark-3.1</id>
       <properties>
         <shimName>spark-3.1</shimName>
-        <shimPkg>spark-extension-shims-spark</shimPkg>
         <scalaTestVersion>3.2.9</scalaTestVersion>
         <sparkVersion>3.1.3</sparkVersion>
         <shortSparkVersion>3.1</shortSparkVersion>
@@ -663,7 +661,6 @@
       <id>spark-3.2</id>
       <properties>
         <shimName>spark-3.2</shimName>
-        <shimPkg>spark-extension-shims-spark</shimPkg>
         <scalaTestVersion>3.2.9</scalaTestVersion>
         <sparkVersion>3.2.4</sparkVersion>
         <shortSparkVersion>3.2</shortSparkVersion>
@@ -675,7 +672,6 @@
       <id>spark-3.3</id>
       <properties>
         <shimName>spark-3.3</shimName>
-        <shimPkg>spark-extension-shims-spark</shimPkg>
         <scalaTestVersion>3.2.9</scalaTestVersion>
         <sparkVersion>3.3.4</sparkVersion>
         <shortSparkVersion>3.3</shortSparkVersion>
@@ -687,7 +683,6 @@
       <id>spark-3.4</id>
       <properties>
         <shimName>spark-3.4</shimName>
-        <shimPkg>spark-extension-shims-spark</shimPkg>
         <scalaTestVersion>3.2.9</scalaTestVersion>
         <sparkVersion>3.4.4</sparkVersion>
         <shortSparkVersion>3.4</shortSparkVersion>
@@ -699,7 +694,6 @@
       <id>spark-3.5</id>
       <properties>
         <shimName>spark-3.5</shimName>
-        <shimPkg>spark-extension-shims-spark</shimPkg>
         <scalaTestVersion>3.2.9</scalaTestVersion>
         <sparkVersion>3.5.7</sparkVersion>
         <shortSparkVersion>3.5</shortSparkVersion>

Reply via email to