You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2021/01/07 08:02:22 UTC
[incubator-sedona] branch master updated: Execute Python3 spark
converter in POM
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/incubator-sedona.git
The following commit(s) were added to refs/heads/master by this push:
new faa9431 Execute Python3 spark converter in POM
faa9431 is described below
commit faa943129333bc4c59062ce89a247dbe760229a6
Author: Jia Yu <ji...@apache.org>
AuthorDate: Thu Jan 7 00:02:11 2021 -0800
Execute Python3 spark converter in POM
---
pom.xml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/pom.xml b/pom.xml
index e6c8c5e..b283935 100644
--- a/pom.xml
+++ b/pom.xml
@@ -425,6 +425,28 @@
<artifactId>apache-rat-plugin</artifactId>
<version>0.13</version>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <configuration>
+ <executable>python3</executable>
+ <workingDirectory>${maven.multiModuleProjectDirectory}</workingDirectory>
+ <arguments>
+ <argument>spark-version-converter.py</argument>
+ <argument>${spark.converter.version}</argument>
+ </arguments>
+ </configuration>
+ <id>python_build</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<profiles>
@@ -458,6 +480,7 @@
<properties>
<spark.version>3.0.1</spark.version>
<spark.compat.version>3.0</spark.compat.version>
+ <spark.converter.version>spark3</spark.converter.version>
<jackson.version>2.10.0</jackson.version>
</properties>
</profile>
@@ -473,6 +496,7 @@
<properties>
<spark.version>2.4.7</spark.version>
<spark.compat.version>2.4</spark.compat.version>
+ <spark.converter.version>spark2</spark.converter.version>
<jackson.version>2.6.7</jackson.version>
</properties>
</profile>