Skip to content

Commit

Permalink
[GLUTEN-5525] Fix mvn versions:set does not work for shim submodules (
Browse files Browse the repository at this point in the history
  • Loading branch information
JinHelin404 authored Oct 23, 2024
1 parent 57e1345 commit 0e628fa
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
<spark.major.version>3</spark.major.version>
<sparkbundle.version>3.4</sparkbundle.version>
<spark.version>3.4.3</spark.version>
<sparkshim.module.name>spark34</sparkshim.module.name>
<sparkshim.artifactId>spark-sql-columnar-shims-spark34</sparkshim.artifactId>
<iceberg.version>1.5.0</iceberg.version>
<delta.package.name>delta-core</delta.package.name>
Expand Down Expand Up @@ -293,7 +292,6 @@
<id>spark-3.2</id>
<properties>
<sparkbundle.version>3.2</sparkbundle.version>
<sparkshim.module.name>spark32</sparkshim.module.name>
<sparkshim.artifactId>spark-sql-columnar-shims-spark32</sparkshim.artifactId>
<spark.version>3.2.2</spark.version>
<iceberg.version>1.3.1</iceberg.version>
Expand All @@ -308,7 +306,6 @@
<id>spark-3.3</id>
<properties>
<sparkbundle.version>3.3</sparkbundle.version>
<sparkshim.module.name>spark33</sparkshim.module.name>
<sparkshim.artifactId>spark-sql-columnar-shims-spark33</sparkshim.artifactId>
<spark.version>3.3.1</spark.version>
<!-- keep using iceberg v1.3.1 for parquet compatibilty. -->
Expand All @@ -324,7 +321,6 @@
<id>spark-3.4</id>
<properties>
<sparkbundle.version>3.4</sparkbundle.version>
<sparkshim.module.name>spark34</sparkshim.module.name>
<sparkshim.artifactId>spark-sql-columnar-shims-spark34</sparkshim.artifactId>
<spark.version>3.4.3</spark.version>
<iceberg.version>1.5.0</iceberg.version>
Expand All @@ -339,7 +335,6 @@
<id>spark-3.5</id>
<properties>
<sparkbundle.version>3.5</sparkbundle.version>
<sparkshim.module.name>spark35</sparkshim.module.name>
<sparkshim.artifactId>spark-sql-columnar-shims-spark35</sparkshim.artifactId>
<spark.version>3.5.3</spark.version>
<iceberg.version>1.5.0</iceberg.version>
Expand Down
37 changes: 36 additions & 1 deletion shims/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

<modules>
<module>common</module>
<module>${sparkshim.module.name}</module>
</modules>

<dependencies>
Expand All @@ -54,6 +53,42 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>spark-3.2</id>
<modules>
<module>spark32</module>
</modules>
</profile>
<profile>
<id>spark-3.3</id>
<modules>
<module>spark33</module>
</modules>
</profile>
<profile>
<id>spark-3.4</id>
<modules>
<module>spark34</module>
</modules>
</profile>
<profile>
<id>spark-3.5</id>
<modules>
<module>spark35</module>
</modules>
</profile>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>spark34</module>
</modules>
</profile>
</profiles>

<build>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit 0e628fa

Please sign in to comment.