Skip to content

Instantly share code, notes, and snippets.

@mwacc
Created October 7, 2015 16:16
Show Gist options
  • Save mwacc/c04636a1b25409db9257 to your computer and use it in GitHub Desktop.
Save mwacc/c04636a1b25409db9257 to your computer and use it in GitHub Desktop.
create maven project
# Spark scala project
mvn archetype:generate -B -DarchetypeGroupId=net.alchim31.maven -DarchetypeArtifactId=scala-archetype-simple -DarchetypeVersion=1.5 -DgroupId=org.apache.spark -DartifactId=<Project name> -Dversion=0.1-SNAPSHOT -Dpackage=org.apache.spark
# flink project
mvn archetype:generate \
-DarchetypeGroupId=org.apache.flink \
-DarchetypeArtifactId=flink-quickstart-scala \
-DarchetypeVersion=0.9.1 \
-DgroupId=org.apache.flink.quickstart \
-DartifactId=flink-scala-project \
-Dversion=0.1 \
-Dpackage=org.apache.flink.quickstart \
-DinteractiveMode=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment