Create Java project with Maven archetype spark-scala-kafka-word-count-archetype

Create a Spark Scala streaming WordCount program that reads from Kafka

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

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

Details about maven archetype spark-scala-kafka-word-count-archetype

GroupId

GroupId

edu.uchicago.mpcs53013
ArtifactId

ArtifactId

spark-scala-kafka-word-count-archetype
Version

Version

7.0.0
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-kafka-word-count-archetype -DarchetypeVersion=7.0.0 -DinteractiveMode=false