Build with different supported versions of Spark, by default using Spark 2.2.1 to build
mvn -DskipTests -Pspark-2.1 -Dspark.version=2.1.0 clean package mvn -DskipTests -Pspark-2.2 -Dspark.version=2.2.1 clean package mvn -DskipTests -Pspark-2.3 -Dspark.version=2.3.2 clean package
Note:
-Pwindows
while building the project.-Pmv
while building the project.Note:Need install Apache Thrift 0.9.3
mvn clean -DskipTests -Pbuild-with-format -Pspark-2.2 package