Create Java project with Maven archetype spark-scala-archetype

Create a Spark Scala program. Provides dependencies on Spark, Spark Streaming, Kafka, and Hive

Create a Java Project by archetype spark-scala-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="edu.uchicago.mpcs53013"   -DarchetypeArtifactId="spark-scala-archetype"   -DarchetypeVersion="1.0.4"   -DinteractiveMode=false 

Details about maven archetype spark-scala-archetype

GroupId

GroupId

edu.uchicago.mpcs53013
ArtifactId

ArtifactId

spark-scala-archetype
Version

Version

1.0.4
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=edu.uchicago.mpcs53013 -DarchetypeArtifactId=spark-scala-archetype -DarchetypeVersion=1.0.4 -DinteractiveMode=false